Commit a17b3703 authored by Daniel Perez de Andres's avatar Daniel Perez de Andres Committed by Greg Kroah-Hartman

Staging: BCM2835-Audio: bcm2835-pcm: single line block statement braces fix

A single line statement under an if clause doesn't require braces {}
Signed-off-by: default avatarDaniel Perez de Andres <danielperezdeandres@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8e17858a
......@@ -317,9 +317,9 @@ static int snd_bcm2835_pcm_prepare(struct snd_pcm_substream *substream)
err = bcm2835_audio_set_params(alsa_stream, channels,
alsa_stream->params_rate,
alsa_stream->pcm_format_width);
if (err < 0) {
if (err < 0)
audio_error(" error setting hw params\n");
}
bcm2835_audio_setup(alsa_stream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment