summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-02-15 16:37:24 +0100
committerTakashi Iwai <tiwai@suse.de>2016-02-15 16:37:24 +0100
commit0b8c82190c12e530eb6003720dac103bf63e146e (patch)
tree6ca56c5838570dd620b6addceceb8ea56b8d839c /sound/core
parentd99a36f4728fcbcc501b78447f625bdcce15b842 (diff)
downloadop-kernel-dev-0b8c82190c12e530eb6003720dac103bf63e146e.zip
op-kernel-dev-0b8c82190c12e530eb6003720dac103bf63e146e.tar.gz
ALSA: hda - Cancel probe work instead of flush at remove
The commit [991f86d7ae4e: ALSA: hda - Flush the pending probe work at remove] introduced the sync of async probe work at remove for fixing the race. However, this may lead to another hangup when the module removal is performed quickly before starting the probe work, because it issues flush_work() and it's blocked forever. The workaround is to use cancel_work_sync() instead of flush_work() there. Fixes: 991f86d7ae4e ('ALSA: hda - Flush the pending probe work at remove') Cc: <stable@vger.kernel.org> # v3.17+ Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud