ALSA: bcm2835: don't use magic numbers on audio start/stop workqueue
The bcm2835 driver uses a workqueue to defer PCM playback start
and stop. Commands are passed to the function as magic numbers
so is more readable to use macro constants.
Also, while being there change the generic name "x" to "cmd"
for the var used to pass the start/stop commands.
Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Loading
Please register or sign in to comment