diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2021-11-22 15:04:15 -0700 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2021-11-24 13:45:59 +0000 |
commit | fd6c8d607ef0bd00b6fc6d2b19a21d41fff25b3c (patch) | |
tree | 95fd0af7db6a3b09cdcd0daaa7afc46c46d83f7d | |
parent | 8e0bfe263c1a944f230b38097a5a917b77542afe (diff) |
drivers/i2c/tpm: Fix blank default statement
CB:59479 introduced a blank default statement. This is treated as an
error or warning on some older toolchains. Add a break statement on
default case.
BUG=None
TEST=Build the Guybrush mainboard.
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: I3d034cfebc8b8ae7d7024d41b4b2207cdeb083e8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59551
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Reviewed-by: Rob Barnes <robbarnes@google.com>
-rw-r--r-- | src/drivers/i2c/tpm/chip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/chip.c b/src/drivers/i2c/tpm/chip.c index 3a2f8aa544..07052f6f0d 100644 --- a/src/drivers/i2c/tpm/chip.c +++ b/src/drivers/i2c/tpm/chip.c @@ -60,6 +60,7 @@ static void i2c_tpm_fill_ssdt(const struct device *dev) case TPM_DEFAULT_POWER_MANAGED: default: /* Leave firmware-power-managed unset */ + break; } acpi_dp_write(dsd); |