diff --git a/drivers/input/misc/qcom-hv-haptics.c b/drivers/input/misc/qcom-hv-haptics.c index 6c328798f23d..6efb2322b0ad 100644 --- a/drivers/input/misc/qcom-hv-haptics.c +++ b/drivers/input/misc/qcom-hv-haptics.c @@ -1357,13 +1357,11 @@ static int haptics_wait_hboost_ready(struct haptics_chip *chip) return 0; /* - * If the coming request is not FIFO play and there is - * already a SWR play in the background, then HBoost will - * be kept as on always hence no need to wait its ready. + * If there is already a SWR play in the background, then HBoost + * will be kept as on hence no need to wait its ready. */ mutex_lock(&chip->play.lock); - if (chip->play.pattern_src != FIFO && - is_swr_play_enabled(chip)) { + if (is_swr_play_enabled(chip)) { dev_dbg(chip->dev, "Ignore waiting hBoost when SWR play is in progress\n"); mutex_unlock(&chip->play.lock); return 0;