diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2014-05-28 09:44:40 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-06-01 22:22:34 +0200 |
commit | 3f7de22eb28244fc79bc744d9f51d018da343962 (patch) | |
tree | ea076b7b0aca7e9f54e2e3630f78567087e3378a /drivers/rtc | |
parent | f2382249b27d1589a1ae495a1df84d890982a3e1 (diff) |
i2c: rcar: check bus free before first message
We should always check if the bus is free, independently if it is a read
or write. It should be done before the first message, though. After
that, we ourselves keep the bus busy. Remove a 'ret' assignment which
only silenced a build warning.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions