]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt700: wait for the delayed work to finish when the system suspends
authorShuming Fan <shumingf@realtek.com>
Mon, 21 Sep 2020 09:42:44 +0000 (17:42 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 19:40:51 +0000 (20:40 +0100)
commitf186d4a1819548ba466a88569f01d28db9266fc9
tree2f9f891f6fddf82c683dd2b6e70e7354ed678a27
parent974dc37738c4dd4fd16f87f8d186b2daaa09ab8d
ASoC: rt700: 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/20200921094244.31869-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt700-sdw.c