]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mediatek: Send i2c master code at more than 1MHz
authorQii Wang <qii.wang@mediatek.com>
Thu, 17 Sep 2020 11:55:42 +0000 (19:55 +0800)
committerWolfram Sang <wsa@kernel.org>
Fri, 18 Sep 2020 20:50:42 +0000 (22:50 +0200)
commit805bfe0942a1bf9ffb99df394fdc900670faf6f6
tree640c0aedadc44ae098e378481699979e18a02892
parentefe1843cf968c309e40508ba0fe034198fa1ee31
i2c: mediatek: Send i2c master code at more than 1MHz

The master code needs to being sent when the speed is more than
I2C_MAX_FAST_MODE_PLUS_FREQ, not I2C_MAX_FAST_MODE_FREQ in the
latest I2C-bus specification and user manual.

Signed-off-by: Qii Wang <qii.wang@mediatek.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt65xx.c