summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBen Gardner <gardner.ben@gmail.com>2018-02-14 18:29:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-28 12:19:39 +0300
commit3e1d63cc7a5f6580c751d8f9e6be8c95791aa1cb (patch)
tree8eaf51b2ec6b36548f05dbbf28068fae4925674a /crypto
parentebaefbdaf552f9e159ea08f54afb6c80e20b2641 (diff)
downloadlinux-3e1d63cc7a5f6580c751d8f9e6be8c95791aa1cb.tar.xz
i2c: designware: must wait for enable
commit fba4adbbf670577e605f9ad306629db6031cd48b upstream. One I2C bus on my Atom E3845 board has been broken since 4.9. It has two devices, both declared by ACPI and with built-in drivers. There are two back-to-back transactions originating from the kernel, one targeting each device. The first transaction works, the second one locks up the I2C controller. The controller never recovers. These kernel logs show up whenever an I2C transaction is attempted after this failure. i2c-designware-pci 0000:00:18.3: timeout in disabling adapter i2c-designware-pci 0000:00:18.3: timeout waiting for bus ready Waiting for the I2C controller status to indicate that it is enabled before programming it fixes the issue. I have tested this patch on 4.14 and 4.15. Fixes: commit 2702ea7dbec5 ("i2c: designware: wait for disable/enable only if necessary") Cc: linux-stable <stable@vger.kernel.org> #4.13+ Signed-off-by: Ben Gardner <gardner.ben@gmail.com> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions