mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "cnss2: Ignore calibration trigger if already in progress"
This commit is contained in:
commit
1a220ae4ee
1 changed files with 3 additions and 0 deletions
|
|
@ -1551,6 +1551,9 @@ static int cnss_cold_boot_cal_start_hdlr(struct cnss_plat_data *plat_priv)
|
|||
if (test_bit(CNSS_COLD_BOOT_CAL_DONE, &plat_priv->driver_state)) {
|
||||
cnss_pr_dbg("Calibration complete. Ignore calibration req\n");
|
||||
goto out;
|
||||
} else if (test_bit(CNSS_IN_COLD_BOOT_CAL, &plat_priv->driver_state)) {
|
||||
cnss_pr_dbg("Calibration in progress. Ignore new calibration req\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (test_bit(CNSS_DRIVER_LOADING, &plat_priv->driver_state) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue