summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdAllah-MEZITI <abdallah.meziti.pro@gmail.com>2017-02-10 19:52:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-12 13:22:08 +0100
commitd54b1bdaa331a367b6b6712328fe6268bec2b77d (patch)
treece208da2479891214e2cc51530b0299347e585ad
parentcdefc236ef23193e7dcb8758685af9e60e8820bb (diff)
staging: bcm2835-audio: fix trailing statements
Trailing statements should be on next line. Signed-off-by: AbdAllah-MEZITI <abdallah.meziti.pro@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/bcm2835-audio/bcm2835-vchiq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
index c52ac2753898..d11f2cdd1014 100644
--- a/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
+++ b/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
@@ -563,7 +563,9 @@ int bcm2835_audio_set_ctls(struct bcm2835_chip *chip)
} else if (bcm2835_audio_set_ctls_chan(chip->alsa_stream[i], chip) != 0) {
LOG_ERR("Couldn't set the controls for stream %d\n", i);
ret = -1;
- } else LOG_DBG(" Controls set for stream %d\n", i);
+ } else {
+ LOG_DBG(" Controls set for stream %d\n", i);
+ }
}
}
LOG_DBG(" .. OUT ret=%d\n", ret);