]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: bcm2835-audio: Drop superfluous mutex lock during prepare
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:45 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:14:59 +0000 (11:14 +0200)
commitd446b78c07669736c404538d777707c8becc60e5
treed60863a5a258f6aeaea8bd6fc6371fb389a887cb
parentaf6b7a374d49f0f3f8b916073709006b7711babd
staging: bcm2835-audio: Drop superfluous mutex lock during prepare

The chip->audio_mutex is used basically for protecting the opened
stream assignment, and the prepare callback is irrelevant with it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c