Files
i2som-imx-linux/include/sound
Takashi Iwai 5c8edb8fae ALSA: ak411x: Fix stall in work callback
commit 4161b4505f upstream.

When ak4114 work calls its callback and the callback invokes
ak4114_reinit(), it stalls due to flush_delayed_work().  For avoiding
this, control the reentrance by introducing a refcount.  Also
flush_delayed_work() is replaced with cancel_delayed_work_sync().

The exactly same bug is present in ak4113.c and fixed as well.

Reported-by: Pavel Hofman <pavel.hofman@ivitera.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Tested-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: snd_ak411{3,4}_reinit were previously using
 flush_delayed_work_sync() rather than flush_delayed_work()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2015-03-06 00:39:17 +00:00
..
2011-03-31 11:26:23 -03:00
2011-08-17 00:53:54 +09:00
2011-05-19 14:10:45 -07:00
2011-03-31 11:26:23 -03:00
2010-12-01 12:14:47 +01:00
2011-03-31 11:26:23 -03:00
2011-09-22 11:19:20 +02:00
2010-10-18 16:46:27 -07:00
2011-02-14 17:10:11 +01:00
2011-07-26 17:21:24 +02:00
2011-09-19 18:31:59 +01:00
2011-01-27 13:10:36 +01:00
2011-09-20 16:02:16 +01:00
2011-08-08 14:30:37 +09:00