]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Implement remove callback
authorStephen Boyd <swboyd@chromium.org>
Sat, 8 May 2021 07:51:51 +0000 (00:51 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 16:06:07 +0000 (17:06 +0100)
commitd184c3e34178b95258b8e7dbd449ff73cacf11a7
treebed617c6c3c8a5816d6a84beeb1d6d9f354b94c9
parent50f2c462f290172a35e75fdd5b57674bc2fbb128
ASoC: rt5682: Implement remove callback

Let's implement a remove callback for this driver that's similar to the
shutdown hook, but also disables the regulators before they're put by
devm code.

Cc: Jairaj Arava <jairaj.arava@intel.com>
Cc: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
Cc: Shuming Fan <shumingf@realtek.com>
Cc: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210508075151.1626903-2-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682-i2c.c