diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-01-05 00:36:51 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-01-06 17:20:50 +0000 |
commit | a1f254b91b6bc0be67870629fc9aaa765671c649 (patch) | |
tree | 16fa2b6e7d2739e498aec78792ebb05a58b8fbd7 /.clang-format | |
parent | dec00dd010ea38ccb7a131e25d243f42b1a0be6f (diff) |
soc/amd/common/block/gpio_banks: clear output enable in gpio_input_*
The functions to configure a GPIO as input with pull-up/down need to
clear the output enable bit, so that the direction will be input. If the
pin was configured as output before, the pin direction was still output
after this call which is at least unexpected.
Change-Id: Id1fa1669195080b34fd62324616825415728b0b4
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49118
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions