summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2019-05-20 14:13:12 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-09-30 11:51:41 +0000
commit9a940bf295337153728e69afdbfee8776170b7bb (patch)
treee5c4f311945396ba39baeaced05aed34b329bfe2 /src/soc/mediatek
parent5fb34e87eb94294b37420493d6863983673fa4a0 (diff)
drivers/i2c/lm96000: Fix integer sign issue
We accidentally converted an `int` return value to an `unsigned`, making it impossible to check for errors with `< 0`. Fix that by using an `int` variable. Change-Id: I5433c27e334bc177913e138df83118b128c674b7 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35474 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/mediatek')
0 files changed, 0 insertions, 0 deletions