ALSA: ak411x: Fix race of reinit() calls
authorTakashi Iwai <tiwai@suse.de>
Fri, 16 Jan 2015 12:03:28 +0000 (13:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 21:30:18 +0000 (22:30 +0100)
Protect the call with a mutex, as this may be called in parallel
(either from the PCM rate change and the clock change).

Acked-by: Jaroslav Kysela <perex@perex.cz>
Tested-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found