From: Vishnu Motghare Date: Wed, 3 Dec 2014 12:35:25 +0000 (+0530) Subject: i2c: cadence: Set the hardware time-out register to maximum value X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681d15a0f527af7ab3a783e1037de86fbcb136ac;p=pandora-kernel.git i2c: cadence: Set the hardware time-out register to maximum value Cadence I2C controller has bug wherein it generates invalid read transactions after timeout in master receiver mode. This driver does not use the HW timeout and this interrupt is disabled but the feature itself cannot be disabled. Hence, this patch writes the maximum value (0xFF) to this register. This is one of the workarounds to this bug and it will not avoid the issue completely but reduces the chances of error. Signed-off-by: Vishnu Motghare Signed-off-by: Harini Katakam Signed-off-by: Wolfram Sang Cc: stable@kernel.org --- Reading git-diff-tree failed