aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorChen-Yu Tsai2016-06-20 10:52:11 +0800
committerMark Brown2016-06-29 19:48:00 +0100
commit5bf75b44972a7edffa9f52cddb291d66bc16a4d6 (patch)
treeb14f98269f20a31edf901527e703007f284376c6 /crypto
parent1a695a905c18548062509178b98bc91e67510864 (diff)
regmap: Support bulk writes for devices without raw formatting
When doing a bulk writes from a device which lacks raw I/O support we fall back to doing register at a time reads but we still use the raw formatters in order to render the data into the word size used by the device (since bulk reads still operate on the device word size rather than unsigned ints). This means that devices without raw formatting such as those that provide reg_read() are not supported. Provide handling for them by copying the values read into native endian values of the appropriate size. This complements commit d5b98eb12420 ("regmap: Support bulk reads for devices without raw formatting"). Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions