So, this is a series I came up with trying to fix the issue found by Kevin. Patches 1+2 are hopefully fixing the bug (in theory, I don't have the HW). Patches 3-5 are RFC, and if patch 3 actually works (see the CHECKME), then 4+5 are further cleanup possibilities. And there is still more potential, I mainly wanted to give some inspiration and awareness that the driver could need some more love. Please test at least 1+2, comments to 3-5 very welcome. Sorry for the delay, I got distracted by an NMI. Wolfram Sang (5): i2c: mv64xxx: put offload check into offload prepare function i2c: mv64xxx: refactor message start to ensure proper initialization i2c: mv64xxx: refactor send_start i2c: mv64xxx: directly call send_start when initializing transfer i2c: mv64xxx: refactor initialization for new msgs drivers/i2c/busses/i2c-mv64xxx.c | 67 ++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 40 deletions(-) -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html