]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: bcm2835-audio: Drop useless running flag and check
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:37 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:14:58 +0000 (11:14 +0200)
commitc5e7824b578639b244bdb3f96f4d3fcbfb2300ca
tree921322c18056d2df3a6e0bff37d2a295a4d4da26
parentaa45eeee516a16cbcb6733e3a57f06e6e4745749
staging: bcm2835-audio: Drop useless running flag and check

The running flag of alsa_stream is basically useless.  The running
state is strictly controlled in ALSA PCM core side, hence the check in
PCM trigger and close callbacks are superfluous.

Also, the prefill ack at trigger start became superfluous nowadays
with the ALSA PCM core update.

Let's rip them off.

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
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h