diff options
| author | Moritz Fischer <[email protected]> | 2017-01-12 09:47:30 -0800 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2017-02-08 06:07:13 -0700 |
| commit | e9b25f2ea1ef24a648f07feeb3604888bdca43e0 (patch) | |
| tree | 74fc5cc863b33283478d19f2299a223c5bfa365c /drivers/timer/timer-uclass.c | |
| parent | 136026f18ed7bdfadc1af1696eced2b13af003d7 (diff) | |
cros_ec: i2c: Group i2c write / read into single transaction
Replace dm_i2c_write() / dm_i2c_read() with transaction using
struct i2c_msg[2] in order to allow for i2c controller to detect
write/read cycle to emit a repeated start condition.
Signed-off-by: Moritz Fischer <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: [email protected]
Acked-by: Simon Glass <[email protected]>
Tested on snow:
Tested-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/timer/timer-uclass.c')
0 files changed, 0 insertions, 0 deletions
