Skip to content
Commit fd22e4c9 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas
Browse files

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: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
parent a9cc473f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment