diff options
| author | Stephen Boyd <[email protected]> | 2021-05-08 00:51:50 -0700 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-05-10 17:06:06 +0100 |
| commit | 47bcb1c7108363418cd578283333d72e310dfeaa (patch) | |
| tree | eba7b203b3ba86e6e927690aac1cbc9e16a6386d /tools/perf/scripts/python | |
| parent | 58f01c7fc81baced84f237554d56847e17b5d730 (diff) | |
ASoC: rt5682: Disable irq on shutdown
We cancel the work queues, and reset the device on shutdown, but the irq
isn't disabled so the work queues could be queued again. Let's disable
the irq during shutdown so that we don't have to worry about this device
trying to do anything anymore. This fixes a problem seen where the i2c
bus is shutdown at reboot but this device irq still comes in and tries
to make another i2c transaction when the bus doesn't work.
Cc: Jairaj Arava <[email protected]>
Cc: Sathyanarayana Nujella <[email protected]>
Cc: Pierre-Louis Bossart <[email protected]>
Cc: Shuming Fan <[email protected]>
Cc: Ranjani Sridharan <[email protected]>
Fixes: 45a2702ce109 ("ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown")
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions