diff options
author | Leilk Liu <leilk.liu@mediatek.com> | 2018-10-31 16:49:16 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:19:06 +0100 |
commit | 976e944e005f555e90d92e504a38f8231551925b (patch) | |
tree | 2ad516bf471b571f146279eeae49e4159f76d157 /drivers/i2c | |
parent | c63ee2939dc1c6eee6c544af1b4ab441490bfe6e (diff) | |
download | linux-stable-976e944e005f555e90d92e504a38f8231551925b.tar.gz linux-stable-976e944e005f555e90d92e504a38f8231551925b.tar.bz2 linux-stable-976e944e005f555e90d92e504a38f8231551925b.zip |
spi: mediatek: use correct mata->xfer_len when in fifo transfer
commit a4d8f64f7267a88d4688f5c216926f5f6cafbae6 upstream.
when xfer_len is greater than 64 bytes and use fifo mode
to transfer, the actual length from the third time is mata->xfer_len
but not len in mtk_spi_interrupt().
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions