diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:33:37 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 11:57:25 +0000 |
commit | a2cc33019828765a669d1e9e14c1959f72e126cf (patch) | |
tree | 93efab47d7a69a87b1b1509c1a10c1bfdd1bc6e6 /common/audio_codec_dmic.c | |
parent | f96ef43f2c609d2201c352c3e02a5b21df7edf11 (diff) | |
download | chrome-ec-a2cc33019828765a669d1e9e14c1959f72e126cf.tar.gz |
common/audio_codec_dmic.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I8a8aa84ce4038673be36a78848092c06d90c99d3
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729565
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'common/audio_codec_dmic.c')
-rw-r--r-- | common/audio_codec_dmic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/audio_codec_dmic.c b/common/audio_codec_dmic.c index c4f0b07a46..d3a6adccd2 100644 --- a/common/audio_codec_dmic.c +++ b/common/audio_codec_dmic.c @@ -8,7 +8,7 @@ #include "console.h" #include "host_command.h" -#define CPRINTS(format, args...) cprints(CC_AUDIO_CODEC, format, ## args) +#define CPRINTS(format, args...) cprints(CC_AUDIO_CODEC, format, ##args) static enum ec_status dmic_get_max_gain(struct host_cmd_handler_args *args) { @@ -25,9 +25,9 @@ static enum ec_status dmic_set_gain_idx(struct host_cmd_handler_args *args) { const struct ec_param_ec_codec_dmic *p = args->params; - if (audio_codec_dmic_set_gain_idx( - p->set_gain_idx_param.channel, - p->set_gain_idx_param.gain) != EC_SUCCESS) + if (audio_codec_dmic_set_gain_idx(p->set_gain_idx_param.channel, + p->set_gain_idx_param.gain) != + EC_SUCCESS) return EC_RES_ERROR; return EC_RES_SUCCESS; @@ -38,8 +38,8 @@ static enum ec_status dmic_get_gain_idx(struct host_cmd_handler_args *args) const struct ec_param_ec_codec_dmic *p = args->params; struct ec_response_ec_codec_dmic_get_gain_idx *r = args->response; - if (audio_codec_dmic_get_gain_idx( - p->get_gain_idx_param.channel, &r->gain) != EC_SUCCESS) + if (audio_codec_dmic_get_gain_idx(p->get_gain_idx_param.channel, + &r->gain) != EC_SUCCESS) return EC_RES_ERROR; args->response_size = sizeof(*r); |