diff options
| author | 2021-02-04 14:17:36 -0600 | |
|---|---|---|
| committer | 2021-02-05 13:13:19 +0000 | |
| commit | 737ee8bdf682cedb3c42b713d20ffa5c899591fb (patch) | |
| tree | 05bcde86b2d9bc87eba6fe1b6beb32247097006f /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: qcom: Fix typo error in HDMI regmap config callbacks (diff) | |
| download | linux-dev-737ee8bdf682cedb3c42b713d20ffa5c899591fb.tar.xz linux-dev-737ee8bdf682cedb3c42b713d20ffa5c899591fb.zip | |
ASoC: rt700-sdw: use cancel_work_sync() in .remove as well as .suspend
Make sure the workqueues are not running after the .remove() callback,
which can lead to timeout errors.
A previous fix to use cancel_work_sync was applied for the suspend
case but the remove case is missing
Fixes: 5f2df2a4583b ('ASoC: rt700: wait for the delayed work to finish when the system suspends')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Link: https://lore.kernel.org/r/20210204201739.25206-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
