Skip to content
Commit e896be5a authored by Russell King's avatar Russell King Committed by Wolfram Sang
Browse files

i2c: pxa: fix i2c_pxa_wait_bus_not_busy() boundary condition



Fix i2c_pxa_wait_bus_not_busy()'s boundary conditions, so that a
coincidental success and timeout results in the function returning
success.

Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent bb82ba69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment