mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
i2c 'Sr' do not send 'STOP'
This commit is contained in:
parent
094ccd6c4f
commit
a448a9de9f
|
|
@ -469,10 +469,10 @@ static int rk29_xfer_msg(struct i2c_adapter *adap,
|
|||
}
|
||||
|
||||
exit:
|
||||
//if(stop || ret < 0)
|
||||
//{
|
||||
if(stop || ret < 0)
|
||||
{
|
||||
rk29_i2c_stop(i2c);
|
||||
//}
|
||||
}
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user