OSDN Git Service

ASoC: wm2200: add missed operations in remove and probe failure
authorChuhong Yuan <hslester96@gmail.com>
Mon, 18 Nov 2019 07:36:33 +0000 (15:36 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Nov 2019 13:02:36 +0000 (13:02 +0000)
commit2dab09be49a1e7a4dd13cb47d3a1441a2ef33a87
tree8c88f6d9152f96858ddf1907de4f1c62c2dae848
parentbaddcee989931e304eeb90c101751c2f7f9b5045
ASoC: wm2200: add missed operations in remove and probe failure

This driver misses calls to pm_runtime_disable and regulator_bulk_disable
in remove and a call to free_irq in probe failure.
Add the calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191118073633.28237-1-hslester96@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm2200.c