aboutsummaryrefslogtreecommitdiff
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorTakashi Iwai2015-01-13 10:53:20 +0100
committerTakashi Iwai2015-01-28 22:29:20 +0100
commit4161b4505f1690358ac0a9ee59845a7887336b21 (patch)
tree627a37684dae207307c59322d7673371d7f346a0 /include/linux/i2c
parent0767e95bb96d7fdddcd590fb809e6975d93aebc5 (diff)
ALSA: ak411x: Fix stall in work callback
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> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions