diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2014-11-04 13:28:50 +0900 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2014-11-10 06:47:37 +0100 |
commit | cd818a381ddcdc2440a167757394298f28b70240 (patch) | |
tree | 3cd737afa41f0024748785127c58bf973ce8528a /drivers/rtc/m41t62.c | |
parent | 6dd38cc35245db624443ee596eb78853fa9cca7a (diff) | |
download | u-boot-imx-cd818a381ddcdc2440a167757394298f28b70240.zip u-boot-imx-cd818a381ddcdc2440a167757394298f28b70240.tar.gz u-boot-imx-cd818a381ddcdc2440a167757394298f28b70240.tar.bz2 |
i2c: rcar_i2c: Fix order of restart and clear status
In case of repeated START condition, the restart has to be kicked
before clear status (MSR register). If it is kicked after clear status,
R-Car I2C may transfer data (TXD register) or receive data (RXD register)
instead of transferring slave address (MAR register).
Signed-off-by: Ryo Kataoka <ryo.kataoka.wt@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'drivers/rtc/m41t62.c')
0 files changed, 0 insertions, 0 deletions