commit | 63c524600353a9c2d097041863a9ab36ed2db79b | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Wed Jan 16 22:05:54 2019 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Jan 23 00:18:09 2019 +0100 |
tree | 02892bc0c3674cbe5a25ece33c7c2d41712af0e0 | |
parent | 0130e3bfa9fa102252ad318d0f5608cc09822baa [diff] |
i2c: sh_mobile: refactor rx isr Remove the do_while loop which was just there to have an easy exit with "break;" and replace it with if-else-blocks which should make the state machine clearer. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>