On Tue, Jul 10, 2018 at 11:42:17PM +0200, Wolfram Sang wrote: > After exiting the while loop, we checked if recovery was successful and > sent a STOP to the clients. Meanwhile however, we send a STOP after > every pulse, so it is not needed after the loop. If we move the check > for a free bus to the end of the while loop, we can shorten and simplify > the logic. It is still ensured that at least one STOP will be sent to > the wire even if SDA was not stuck low. > > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature