]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: azt3328: Remove unnecessary synchronize_irq() before free_irq()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 21 Nov 2015 11:01:22 +0000 (12:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 21 Nov 2015 16:40:07 +0000 (17:40 +0100)
commitbda34e9b03ef4cf5bb866582d7e209a60e8b5f39
tree3f8dcf95396557dd6183cd31e60df1442bd42dd6
parent35efe338c78f6ec5747de736713901ac51ebce1a
ALSA: azt3328: Remove unnecessary synchronize_irq() before free_irq()

Calling synchronize_irq() right before free_irq() is quite useless. On one
hand the IRQ can easily fire again before free_irq() is entered, on the
other hand free_irq() itself calls synchronize_irq() internally (in a race
condition free way) before any state associated with the IRQ is freed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/azt3328.c