17 Jun
2024
17 Jun
'24
1:55 p.m.
On Sun, Jun 16, 2024 at 04:54:58PM +0200, Christophe JAILLET wrote:
Le 11/06/2024 à 09:45, Mohammad Rafi Shaik a écrit :
+static void wcd937x_soc_codec_remove(struct snd_soc_component *component) +{
- struct wcd937x_priv *wcd937x = snd_soc_component_get_drvdata(component);
- wcd937x_mbhc_deinit(component);
- free_irq(wcd937x->aux_pdm_wd_int, wcd937x);
- free_irq(wcd937x->hphl_pdm_wd_int, wcd937x);
- free_irq(wcd937x->hphr_pdm_wd_int, wcd937x);
These irq have been requested wth devm_request_threaded_irq(), so either this free_irq should be removed, or devm_free_irq() should be used if the order is important.
Yes, this should be fixed.