drivers: staging: greybus: audio_codec.c: Fixed CHECKS for brace issues
authorChase Metzger <chasemetzger15@gmail.com>
Sun, 9 Oct 2016 22:26:33 +0000 (15:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:08 +0000 (10:26 +0200)
Added braces to else statement where checkpatch complained.

Signed-off-by: Chase Metzger <chasemetzger15@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c

index 8a0744b..1bdf849 100644 (file)
@@ -655,8 +655,10 @@ static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream)
                        ret = gb_audio_apbridgea_shutdown_rx(data->connection,
                                                             0);
                params->state = GBAUDIO_CODEC_STOP;
-       } else
+       } else {
                ret = -EINVAL;
+       }
+
        if (ret)
                dev_err_ratelimited(dai->dev,
                                    "%s:Error during %s %s stream:%d\n",