summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-bcm2835.c
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2019-02-05 16:42:53 +0530
committerWolfram Sang <wsa@the-dreams.de>2019-02-15 09:42:17 +0100
commitd358def706880defa4c9e87381c5bf086a97d5f9 (patch)
tree9b4bb7c99fa280365631179c3d71a44d2fd90369 /drivers/i2c/busses/i2c-bcm2835.c
parentd13937116f1e82bf508a6325111b322c30c85eb9 (diff)
i2c: cadence: Fix the hold bit setting
In case the hold bit is not needed we are carrying the old values. Fix the same by resetting the bit when not needed. Fixes the sporadic i2c bus lockups on National Instruments Zynq-based devices. Fixes: df8eb5691c48 ("i2c: Add driver for Cadence I2C controller") Reported-by: Kyle Roeschley <kyle.roeschley@ni.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Tested-by: Kyle Roeschley <kyle.roeschley@ni.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-bcm2835.c')
0 files changed, 0 insertions, 0 deletions