]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt711: wait for the delayed work to finish when the system suspends
authorShuming Fan <shumingf@realtek.com>
Mon, 21 Sep 2020 09:43:08 +0000 (17:43 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 19:40:55 +0000 (20:40 +0100)
commit26932c718bc69e6da54c745b8febd87bd3da559f
tree1aa91a232a8c28358d00bd9362c5a931d99044e2
parentb3998e79ee3c63cb33178a5c8889bcf593a45257
ASoC: rt711: wait for the delayed work to finish when the system suspends

To avoid the IO error, we need to cancel the delayed work and wait for it to finish.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200921094308.31921-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt711-sdw.c