summaryrefslogtreecommitdiff
path: root/drivers/spi/fsl_qspi.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2020-09-30 13:24:12 +0100
committerHeiko Schocher <hs@denx.de>2020-10-01 05:41:44 +0200
commit86a73b0905430c0a637280d33afa498b366f4d23 (patch)
tree59877cb6d6c3921185bf88aa4755d063482158da /drivers/spi/fsl_qspi.c
parent5f9070a4a48d2db1968b86a54e82724dbe2a6de6 (diff)
i2c: rcar_i2c: Fix i2c read/write errors
commit 7c8f821e5dde ("i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer") blindly called rcar_i2c_set_addr() with read argument always set to 1 during xfer which introduced read/write errors, whereas earlier rcar_i2c_read_common() called rcar_i2c_set_addr() with read set to 1 and rcar_i2c_write_common() called rcar_i2c_set_addr() with read set 0. Fixes: 7c8f821e5dde ("i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer") Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/spi/fsl_qspi.c')
0 files changed, 0 insertions, 0 deletions