diff options
author | William A. Kennington III <william@wkennington.com> | 2023-09-23 18:02:14 -0700 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-09-27 21:32:06 +0200 |
commit | 92e73d807b68b2214fcafca4e130b5300a9d4b3c (patch) | |
tree | 48f67cd004bb6b1f94a6570ce5f09b90a71499dd /drivers/devfreq/imx-bus.c | |
parent | b13e59e74ff71a1004e0508107e91e9a84fd7388 (diff) | |
download | linux-stable-92e73d807b68b2214fcafca4e130b5300a9d4b3c.tar.gz linux-stable-92e73d807b68b2214fcafca4e130b5300a9d4b3c.tar.bz2 linux-stable-92e73d807b68b2214fcafca4e130b5300a9d4b3c.zip |
i2c: npcm7xx: Fix callback completion ordering
Sometimes, our completions race with new master transfers and override
the bus->operation and bus->master_or_slave variables. This causes
transactions to timeout and kernel crashes less frequently.
To remedy this, we re-order all completions to the very end of the
function.
Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
Signed-off-by: William A. Kennington III <william@wkennington.com>
Reviewed-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/devfreq/imx-bus.c')
0 files changed, 0 insertions, 0 deletions