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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:36:06 +0000 (16:36 +0100)
commitf3897dc04734a30479e366f9979a90d979b9481c
treeb3dad7342941d275d502e349b29eff59678d5b3d
parent3e6f71144abb1737e29bd7b562e54483fa2e979e
ASoC: wm2200: add missed operations in remove and probe failure

[ Upstream commit 2dab09be49a1e7a4dd13cb47d3a1441a2ef33a87 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/wm2200.c