From: Mark Brown Date: Thu, 17 Mar 2011 21:42:29 +0000 (+0000) Subject: mfd: Push byte swap out of WM8994 bulk I/O X-Git-Tag: v2.6.39-rc1~96^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4277163c2a451fd8db0883cde5e55cf61a70fe85;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed