]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: mediatek: Fix send master code at more than 1MHz
authorQii Wang <qii.wang@mediatek.com>
Sat, 17 Apr 2021 06:46:50 +0000 (14:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:13:19 +0000 (10:13 +0200)
commitc4e3d8cf615bf651ef39e24210e73700187244dd
tree836c27865e37fbaf51be103ee9e64b4b4d838eae
parent667627fa85a8bf02024319028b6c3121b3b494f0
i2c: mediatek: Fix send master code at more than 1MHz

commit 63ce8e3df8f6deca2da52eaf064751ad4018b46e upstream.

There are some omissions in the previous patch about replacing
I2C_MAX_FAST_MODE__FREQ with I2C_MAX_FAST_MODE_PLUS_FREQ and
need to fix it.

Fixes: b44658e755b5("i2c: mediatek: Send i2c master code at more than 1MHz")
Signed-off-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-mt65xx.c