summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/cache.h
diff options
context:
space:
mode:
authorLiam Girdwood <lg@opensource.wolfsonmicro.com>2007-01-31 14:14:57 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:03:27 +0100
commit965ac42ce919db225ee64678f0be02f2fdf5b5e4 (patch)
tree832436b24c8a02a879de8efc7869bbfe06de2018 /include/asm-cris/cache.h
parent[ALSA] usbaudio - Fix Oops with broken usb descriptors (diff)
downloadlinux-965ac42ce919db225ee64678f0be02f2fdf5b5e4.tar.xz
linux-965ac42ce919db225ee64678f0be02f2fdf5b5e4.zip
[ALSA] ASoC force running of delayed PM work at suspend() and remove()
This patch fixes a bug whereby the power management delayed work would never be run at driver suspend() or module remove(). Delayed work would be created (after audio had finished) with a long delay (~5 secs) and was sometimes never queued before flush_scheduled_work() was being called at suspend or module remove. This caused the delayed work to queued after the module had been removed or after resume. This patch forces any delayed work to complete by cancelling it (timer cannot fire and add it to queue later), scheduling it for now and waiting on it's completion. This is something I probably would like to add to workqueue.c in the next merge window, however it's here atm because it can oops. Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/asm-cris/cache.h')
0 files changed, 0 insertions, 0 deletions