OSDN Git Service

ASoC: rt5682-sdw: cancel_work_sync() in .remove and .suspend
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 4 Feb 2021 20:17:38 +0000 (14:17 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 5 Feb 2021 13:13:21 +0000 (13:13 +0000)
commitc792c3690b82c8d26c01494a51ebf66d9cae7e72
tree2413ea45df465a7169b932be4e08be40daf6c0ad
parent121871a75ae4032cf5e506ba5159761805709def
ASoC: rt5682-sdw: cancel_work_sync() in .remove and .suspend

Follow pattern from other drivers and use cancel_work_sync() for both
.remove() and .suspend().

Fixes: 03f6fc6de919 ('ASoC: rt5682: Add the soundwire support')
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-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682-sdw.c