diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-01-31 18:26:10 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-03 19:34:03 +0300 |
commit | 99b2ab9d3aa08824dfefd7d9ad9f2b4c19555d05 (patch) | |
tree | 0564d35d0debaf48e6bae5a01ea189a1a64a3b3c /tools/perf/scripts/python/syscall-counts.py | |
parent | f6a82a0c01e51dd494b6eb68861473368355e58b (diff) | |
download | linux-99b2ab9d3aa08824dfefd7d9ad9f2b4c19555d05.tar.xz |
ALSA: x86: Fix sleep-in-atomic via i915 notification
i915 notification is executed in a spinlock, thus it must not sleep;
i.e. we can't use kmalloc with GFP_KERNEL or such.
For making it working properly, move the notification handler in a
work, and handle it gracefully. We have already such a work, and it
was used just at the start. This can be re-used in a more generic
hotplug handling.
Also, the patch adds the proper call of cancel_work_sync() to the
destructor.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions