summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-02-13 21:36:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-22 13:34:59 -0800
commit160e9e9caed114b965d29231c93b96452479e599 (patch)
treebe590a746e76d648f942863551b4c64fc61538a3 /fs/proc/array.c
parentfdc1e9ab458fe3051228cb38632f5977e7066572 (diff)
i2c: mv64xxx: refactor message start to ensure proper initialization
commit 79970db213344b4a4034645db5ebfc31571f3fa3 upstream. Because the offload mechanism can fall back to a standard transfer, having two seperate initialization states is unfortunate. Let's just have one state which does things consistently. This fixes a bug where some preparation was missing when the fallback happened. And it makes the code much easier to follow. To implement this, we put the check if offload is possible at the top of the offload setup function. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Fixes: 930ab3d403ae (i2c: mv64xxx: Add I2C Transaction Generator support) Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions