Attention is currently required from: Hope Wang, Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Hello Hope Wang,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/85840?usp=email
to review the following change.
Change subject: mb/google/rauru: Correct the argument type of ADC ......................................................................
mb/google/rauru: Correct the argument type of ADC
Correct the argument type when calling the mt6363_sdmadc_read API.
TEST=Build pass BUG=b:317009620
Change-Id: I3d55e787dd86d474c299b2f7ad4a2fefda436a60 Signed-off-by: Hope Wang hope.wang@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/boardid.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/85840/1
diff --git a/src/mainboard/google/rauru/boardid.c b/src/mainboard/google/rauru/boardid.c index e3e0979..fc0230d 100644 --- a/src/mainboard/google/rauru/boardid.c +++ b/src/mainboard/google/rauru/boardid.c @@ -38,7 +38,7 @@
static uint32_t get_adc_index(unsigned int channel) { - int value; + u32 value;
mt6363_sdmadc_read(channel, &value, SDMADC_OPEN, AUXADC_VAL_PROCESSED); assert(channel < ARRAY_SIZE(adc_voltages));