Staging: bcm2835-audio - style fix, block comments
Subsystems (3)
PATCH 1/1 Staging: bcm2835-audio - style fix, block comments
Fixed block comments as found by checkpatch
Signed-off-by Derek Robson <[email protected]>
--- drivers/staging/bcm2835-audio/bcm2835-ctl.c | 3 ++- drivers/staging/bcm2835-audio/bcm2835-pcm.c | 3 ++- drivers/staging/bcm2835-audio/bcm2835.h | 5 ----- 3 files changed, 4 insertions(+), 7 deletions(-)
drivers/staging/bcm2835-audio/bcm2835-ctl.c +2 -1
@@ -248,7 +248,8 @@ static int snd_bcm2835_spdif_mask_get(struct snd_kcontrol *kcontrol, {/* bcm2835 supports only consumer mode and sets all other format flags * automatically. So the only thing left is signalling non-audio -* content */ +* content +*/ ucontrol->value.iec958.status[0 ] =IEC958_AES0_NONAUDIO ;return 0 ; }
drivers/staging/bcm2835-audio/bcm2835-pcm.c +2 -1
@@ -308,7 +308,8 @@ static int snd_bcm2835_pcm_prepare(struct snd_pcm_substream *substream)/* notify the vchiq that it should enter spdif passthrough mode by * setting channels=0 (see -* https://github.com/raspberrypi/linux/issues/528) */ +* https://github.com/raspberrypi/linux/issues/528) +*/ if (chip->spdif_status &IEC958_AES0_NONAUDIO ) channels =0 ;else
drivers/staging/bcm2835-audio/bcm2835.h +0 -5
@@ -26,11 +26,6 @@#include <sound/pcm-indirect.h> #include <linux/workqueue.h> -/* -#define AUDIO_DEBUG_ENABLE -#define AUDIO_VERBOSE_DEBUG_ENABLE -*/ -/* Debug macros */ #ifdef AUDIO_DEBUG_ENABLE
Signature · 1 line
2.11.1