diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-08-16 07:25:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-26 18:42:06 +0200 |
commit | d3efd26af2e044ff2b48d38bb871630282d77e60 (patch) | |
tree | e0b0ac63b43dff6b48b2f57884646b518b833e69 /sound/soc/codecs/pcm3060.h | |
parent | ASoC: wcd9335: Fix a memory leak in the error handling path of the probe func... (diff) | |
download | linux-d3efd26af2e044ff2b48d38bb871630282d77e60.tar.xz linux-d3efd26af2e044ff2b48d38bb871630282d77e60.zip |
ASoC: wcd9335: Disable irq on slave ports in the remove function
The probe calls 'wcd9335_setup_irqs()' to enable interrupts on all slave
ports.
This must be undone in the remove function.
Add a 'wcd9335_teardown_irqs()' function that undoes 'wcd9335_setup_irqs()'
function, and call it from the remove function.
Fixes: 20aedafdf492 ("ASoC: wcd9335: add support to wcd9335 codec")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Message-Id: <8f761244d79bd4c098af8a482be9121d3a486d1b.1629091028.git.christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm3060.h')
0 files changed, 0 insertions, 0 deletions