]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb44658e755b5a733e9df04449facbc738df09170
tree640c0aedadc44ae098e378481699979e18a02892
parentff6f3aff46beb3c29e0802cffcc559e1756c4814
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