diff options
author | Martyn Welch <martyn.welch@ge.com> | 2014-02-07 15:48:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 16:16:14 (GMT) |
commit | f0342e66b397947ed8c3eef8c37b5ca2d5b1bb50 (patch) | |
tree | 7e3fbaaa0596dd9379db16957b5638ba2763dc33 /drivers/i2c/algos | |
parent | 5cb906c7035f03a3a44fecece9d3ff8fcc75d6e0 (diff) | |
download | linux-f0342e66b397947ed8c3eef8c37b5ca2d5b1bb50.tar.xz |
VME: Correct read/write alignment algorithm
In order to ensure the correct width cycles on the VME bus, the VME bridge
drivers implement an algorithm to utilise the largest possible width reads and
writes whilst maintaining natural alignment constraints. The algorithm
currently looks at the start address rather than the current read/write address
when determining whether a 16-bit width cycle is required to get to 32-bit
alignment. This results in incorrect alignment,
Reported-by: Jim Strouth <james.strouth@ge.com>
Tested-by: Jim Strouth <james.strouth@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/algos')
0 files changed, 0 insertions, 0 deletions