]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
i2c: octeon: Add flush writeq helper function
authorPeter Swain <pswain@cavium.com>
Mon, 25 Apr 2016 14:33:33 +0000 (16:33 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 25 Apr 2016 21:33:16 +0000 (23:33 +0200)
commit30c24b25142a9171d38e8074758b3a370906fc7d
treeaed646b04d769d4c1f7f79c2defbf9892120469b
parentc981e34eee146fe560c46704396342ff979346d7
i2c: octeon: Add flush writeq helper function

Add helper function that reads back a value after writing to
make sure the write is finished and use it in octeon_i2c_write_int().

Signed-off-by: Peter Swain <pswain@cavium.com>
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c