]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: meson: set clock divider in probe instead of setting it for each transfer
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 Mar 2017 13:04:42 +0000 (14:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 30 Mar 2017 15:30:39 +0000 (17:30 +0200)
commit3743deb7302ae2b75e7c2f4174d99025d45c7609
tree25058c5bbc465190c22bd0ee754aca9640618945
parentf1a34b8b56f1840c9aa193807ed1db2f3609a621
i2c: meson: set clock divider in probe instead of setting it for each transfer

The bus frequency is fixed to what is set DT, therefore we can set
the clock divider in probe already and we don't have to set it for
each transfer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-meson.c