]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mv64xxx: really allow I2C offloading
authorHezi Shahmoon <hezi@marvell.com>
Tue, 20 Oct 2015 14:32:24 +0000 (16:32 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 Oct 2015 12:47:45 +0000 (14:47 +0200)
commita1d4a9497e9876e8dca3df5a8a74ae2317c74c6c
tree2f57d872fb7e8acac45960e3cd6b68f49e009db9
parent28d9172277b55f6b17a89bbadf987c6aad81a04d
i2c: mv64xxx: really allow I2C offloading

Commit f51ab5e0453e ("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".

Fixes: f51ab5e0453e ("i2c: mv64xxx: rework offload support to fix several problems")
Signed-off-by: Hezi Shahmoon <hezi@marvell.com>
[Thomas: reworked commit log and title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: <stable@vger.kernel.org>
drivers/i2c/busses/i2c-mv64xxx.c