diff options
| author | Arun Chandran <achandran@mvista.com> | 2015-06-15 15:59:02 +0530 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-07-15 10:00:35 +0100 |
| commit | 1f78583b4d4535d941b9d5eeafb7197e19adf82d (patch) | |
| tree | 89b9a906a6b279a07065fa38ee3169fe560257c8 /include/linux | |
| parent | ae6002a2a7a8f9c003a96fba11c5a806c337edf5 (diff) | |
regmap: Fix regmap_bulk_read in BE mode
commit 15b8d2c41fe5839582029f65c5f7004db451cc2b upstream.
In big endian mode regmap_bulk_read gives incorrect data
for byte reads.
This is because memcpy of a single byte from an address
after full word read gives different results when
endianness differs. ie. we get little-end in LE and big-end in BE.
Signed-off-by: Arun Chandran <achandran@mvista.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
