mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
rk2926:m713:slove io conflict for act8931 and tps65910
This commit is contained in:
@@ -268,6 +268,12 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
|
||||
NULL, 0);
|
||||
if (ret < 0)
|
||||
goto err;
|
||||
|
||||
ret = tps65910_reg_read(tps65910,0x22);
|
||||
if ((ret < 0) || (ret == 0xff)){
|
||||
printk("The device is not tps65910\n");
|
||||
goto err;
|
||||
}
|
||||
|
||||
g_tps65910 = tps65910;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user