i2c: mv64xxx: simplify mv64xxx_i2c_wait_for_completion
Two nested while loops are not necessary here, so integrate the read,
i2c_fsm and i2c_do_action calls into mv64xxx_i2c_wait_for_completion()
and remove the obsolete interrupt remains.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8d38b52 commit 836b99c81b9f17414cbbbfdf1c4d92acfc7106ff
@Bastian Stender Bastian Stender authored on 23 Feb 2017
Sascha Hauer committed on 2 Mar 2017
Showing 1 changed file
View
drivers/i2c/busses/i2c-mv64xxx.c