mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
mfd: rk808: rk809 chip name register is same as rk817
Change-Id: I22f5735ab3272a53d2e97012f452c340f16b0bff Signed-off-by: shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
parent
9b2724a451
commit
69441faf9e
|
|
@ -947,7 +947,8 @@ static int rk808_probe(struct i2c_client *client,
|
|||
if (!rk808)
|
||||
return -ENOMEM;
|
||||
|
||||
if (of_device_is_compatible(np, "rockchip,rk817")) {
|
||||
if (of_device_is_compatible(np, "rockchip,rk817") ||
|
||||
of_device_is_compatible(np, "rockchip,rk809")) {
|
||||
pmic_id_msb = RK817_ID_MSB;
|
||||
pmic_id_lsb = RK817_ID_LSB;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user