diff options
author | Hans de Goede <[email protected]> | 2023-09-12 13:32:44 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-09-12 14:37:50 +0100 |
commit | 8c8bf3df6b7c0ed1c4dd373b23eb0ce13a63f452 (patch) | |
tree | 2cd24ec93d18df94118eea467321c6e754311fde /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b5e85e535551bf82242aa5896e14a136ed3c156d (diff) |
ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
Set "rt5640->irq_requested = true" after a successful request_irq()
in rt5640_enable_hda_jack_detect(), so that rt5640_disable_jack_detect()
properly frees the IRQ.
This fixes the IRQ not being freed on rmmod / driver unbind.
Fixes: 2b9c8d2b3c89 ("ASoC: rt5640: Add the HDA header support")
Cc: Oder Chiou <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions