diff options
author | Subhransu S. Prusty <[email protected]> | 2017-08-22 16:45:52 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-08-23 11:55:14 +0100 |
commit | c360e0c3ab8ef8d0fd6b5501a407b9a2be4f204d (patch) | |
tree | 1617e02575b5169c37e6cb197be1bae4ed120c4b | |
parent | f77d443c4c299aff5ad9c74811dd063f4d8bebcf (diff) |
ASoC: Intel: Skylake: Fix to free correct dev id in free_irq
The dev_id passed by the driver in request_threaded_irq is an ebus pointer,
whereas to free_irq it is hdac_bus. Fix by passing correct dev_id to
free_irq.
Signed-off-by: Subhransu S. Prusty <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/intel/skylake/skl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index e612a4097275..d62ffbc93d54 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -415,7 +415,7 @@ static int skl_free(struct hdac_ext_bus *ebus) snd_hdac_ext_stop_streams(ebus); if (bus->irq >= 0) - free_irq(bus->irq, (void *)bus); + free_irq(bus->irq, (void *)ebus); snd_hdac_bus_free_stream_pages(bus); snd_hdac_stream_free_all(ebus); snd_hdac_link_free_all(ebus); |