Patch "i2c: mv64xxx: really allow I2C offloading" has been added to the 4.2-stable tree
This is a note to let you know that I've just added the patch titled
i2c: mv64xxx: really allow I2C offloading
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
i2c-mv64xxx-really-allow-i2c-offloading.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
0729a04977d497cf66234fd7f900ddcec3ef1c52Mon Sep 17 00:00:00 2001
From: Hezi Shahmoon <[email protected]>
Date: Tue, 20 Oct 2015 16:32:24 +0200
Subject: i2c: mv64xxx: really allow I2C offloading
From: Hezi Shahmoon <[email protected]>
commit 0729a04977d497cf66234fd7f900ddcec3ef1c52 upstream.
Commit 00d8689b85a7 ("i2c: mv64xxx: rework offload support to fix several problems") completely reworked the offload support, but left a debugging-related "return false" at the beginning of the mv64xxx_i2c_can_offload() function. This has the unfortunate consequence that offloading is in fact never used, which wasn't really the intention.
This commit fixes that problem by removing the bogus "return false".
--- drivers/i2c/busses/i2c-mv64xxx.c | 2 -- 1 file changed, 2 deletions(-)
drivers/i2c/busses/i2c-mv64xxx.c +0 -2
@@ -669,8 +669,6 @@ mv64xxx_i2c_can_offload(struct mv64xxx_istruct i2c_msg *msgs = drv_data->msgs;int num = drv_data->num_msgs; -return false; -if (!drv_data->offload_enabled)return false;
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/i2c-mv64xxx-really-allow-i2c-offloading.patch