diff options
author | Takashi Iwai <[email protected]> | 2019-12-18 20:26:06 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2019-12-29 09:18:19 +0100 |
commit | 0aec96f5897ac16ad9945f531b4bef9a2edd2ebd (patch) | |
tree | 66b110b2e5d53fbecc57e0b485011f314bd56c3a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e79c22695abd3b75a6aecf4ea4b9607e8d82c49c (diff) |
ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
Jia-Ju Bai reported a possible sleep-in-atomic scenario in the ice1724
driver with Infrasonic Quartet support code: namely, ice->set_rate
callback gets called inside ice->reg_lock spinlock, while the callback
in quartet.c holds ice->gpio_mutex.
This patch fixes the invalid call: it simply moves the calls of
ice->set_rate and ice->set_mclk callbacks outside the spinlock.
Reported-by: Jia-Ju Bai <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions