]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: i2c: don't sent stop bit after each message
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 16 Nov 2019 19:32:57 +0000 (11:32 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 23 Nov 2019 14:29:49 +0000 (22:29 +0800)
commitc9fca5ec8849b8fa16b16cece091645e7d3aa02b
tree3eb632e02cb8bd651539f774db73a587a9afc625
parent5ef1e02e997ade6e482e589a5c5ed7cf442b173b
rockchip: i2c: don't sent stop bit after each message

That's not correct and it breaks SMBUS-style reads and and writes for
some chips (e.g. SYR82X/SYR83X).

Stop bit should be sent only after the last message.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/i2c/rk_i2c.c