i2c: bcm2835: Set up the rising/falling edge delays
authorEric Anholt <eric@anholt.net>
Thu, 8 Feb 2018 13:54:05 +0000 (14:54 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 Feb 2018 11:11:07 +0000 (12:11 +0100)
commitfe32a815f05c8568669a062587435e15f9345764
treea5b50b4ce9ac7e302af1d6d852e89438831b36b3
parent15407798835a94f0936c7cbabb2f611bf20f467a
i2c: bcm2835: Set up the rising/falling edge delays

We were leaving them in the power on state (or the state the firmware
had set up for some client, if we were taking over from them).  The
boot state was 30 core clocks, when we actually want to sample some
time after (to make sure that the new input bit has actually arrived).

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-bcm2835.c