提交 9ae7a47f 编写于 作者: C Chase Metzger 提交者: Greg Kroah-Hartman

drivers: staging: greybus: audio_codec.c: Fixed CHECKS for brace issues

Added braces to else statement where checkpatch complained.
Signed-off-by: NChase Metzger <chasemetzger15@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 673ec4e0
...@@ -655,8 +655,10 @@ static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) ...@@ -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, ret = gb_audio_apbridgea_shutdown_rx(data->connection,
0); 0);
params->state = GBAUDIO_CODEC_STOP; params->state = GBAUDIO_CODEC_STOP;
} else } else {
ret = -EINVAL; ret = -EINVAL;
}
if (ret) if (ret)
dev_err_ratelimited(dai->dev, dev_err_ratelimited(dai->dev,
"%s:Error during %s %s stream:%d\n", "%s:Error during %s %s stream:%d\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册