diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-07-06 11:43:55 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-07 05:27:31 +0000 |
commit | d2b4b99cd581c81766df5cdf2fe8d4fb9af6416f (patch) | |
tree | 844e74946f0f05a0ba10e1cbedd29e7882315802 /common | |
parent | 4f9467ce58b0ae7822eed24ffe8a825823cc2bb6 (diff) | |
download | chrome-ec-d2b4b99cd581c81766df5cdf2fe8d4fb9af6416f.tar.gz |
common/ec_ec_comm_client.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Tricium: disable
Change-Id: I96dc22801c2fd1cdf754ffebeee1f2f9680cc774
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3749466
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/ec_ec_comm_client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/ec_ec_comm_client.c b/common/ec_ec_comm_client.c index 8f59c5b65e..1f87ad96cf 100644 --- a/common/ec_ec_comm_client.c +++ b/common/ec_ec_comm_client.c @@ -138,9 +138,10 @@ static int write_command(uint16_t command, uint8_t *data, int req_len, memset(request_header, 0, sizeof(*request_header)); /* fields0: leave seq_dup and is_response as 0. */ - request_header->fields0 = EC_EC_HOSTCMD_VERSION | /* version */ - (cur_seq << EC_PACKET4_0_SEQ_NUM_SHIFT); /* seq_num - */ + request_header->fields0 = + EC_EC_HOSTCMD_VERSION | /* version */ + (cur_seq << EC_PACKET4_0_SEQ_NUM_SHIFT); /* seq_num + */ /* fields1: leave command_version as 0. */ if (req_len > 0) request_header->fields1 |= EC_PACKET4_1_DATA_CRC_PRESENT_MASK; |