]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e7999ee49a8734ad6424249d8c322e429e1d29b
treea5b50b4ce9ac7e302af1d6d852e89438831b36b3
parent8c34523dfdd0c785874ecf09bbe481cfda859468
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