diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-03-17 21:42:29 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:42:10 +0100 |
commit | 4277163c2a451fd8db0883cde5e55cf61a70fe85 (patch) | |
tree | 9044303832b24eef57534ea45f45e9d26cc30b26 /include/linux/mfd/wm8994 | |
parent | 334e9ab8f9bb90ddf1eff0b07609961a628064b6 (diff) |
mfd: Push byte swap out of WM8994 bulk I/O
For bulk I/O it is both convenient and more sensible to pre-swap the data
rather than doing the swap as part of the I/O operation so move the byte
swaps we're currently doing into the core write function into the register
based functions, giving the bulk write function a straight pass through
to the chip.
This leaves reads inconsistent, this will be addressed as a followup patch.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8994')
0 files changed, 0 insertions, 0 deletions