coreboot-kgpe-d16/src/drivers/xpowers
Alexandru Gagniuc 1959abd790 drivers/xpowers/axp209: Adapt to new I²C API
Originally, axp209_(read|write) accessors relied on i2c_(read|write)
to return the number of bytes transferred. This was changed in
* cdb61a6 i2c: Replace the i2c API.
to return an error code or 0 on success. This caused the AXP209 check
to fail. Fix the accessors to account for this new behavior.

Change-Id: Ib0f492bd52260d224d87f8e8f2d3c1244d1507df
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/8432
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
2015-02-20 23:20:56 +01:00
..
axp209 drivers/xpowers/axp209: Adapt to new I²C API 2015-02-20 23:20:56 +01:00
Kconfig drivers: Add support for X-Powers AXP209 PMU 2014-01-13 04:01:48 +01:00
Makefile.inc drivers: Add support for X-Powers AXP209 PMU 2014-01-13 04:01:48 +01:00