]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
power: Explicitly select pmic device's bus
authorAaron Durbin <adurbin@chromium.org>
Tue, 20 May 2014 12:01:38 +0000 (06:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 28 May 2014 01:58:19 +0000 (10:58 +0900)
commit0b259dc2e849183dfea604fa137bb616e09b319a
tree2dd60aab6e8ea483fc3a0080bf0d09c6bc6b5f19
parent2469bf35a8c4fde242300c8123406cdc3b3b464c
power: Explicitly select pmic device's bus

The current pmic i2c code assumes the current i2c bus is
the same as the pmic device's bus. There is nothing ensuring
that to be true. Therefore, select the proper bus before performing
a transaction.

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/power/power_i2c.c