]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs4265: Add a remove() function
authorFabio Estevam <festevam@denx.de>
Tue, 4 Jan 2022 18:06:13 +0000 (15:06 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 5 Jan 2022 13:53:58 +0000 (13:53 +0000)
commit7cada913465136f7fac2b964ad1afdd6d24d5780
tree59024a036f1f5d8dc7d32c33b7eaddf44ab3d64f
parentc0f47ad1a5e2ca1d935042317fab6025c9d8077d
ASoC: cs4265: Add a remove() function

When the reset_gpio GPIO is used, it is better to put the codec
back into reset state when the driver unbinds.

Add a remove() function to accomplish that.

Suggested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220104180613.639317-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4265.c