From: Mark Brown Date: Tue, 7 Jun 2011 10:49:42 +0000 (+0100) Subject: mfd: Fix WM8994 IRQ register cache restore on resume X-Git-Tag: v3.1-rc1~100^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ae1ccaf62d5006884e01159bf7a63174b0fc03;p=pandora-kernel.git mfd: Fix WM8994 IRQ register cache restore on resume When the byte swap was factored out into the per-register I/O functions the register restore for the IRQ mask cache (which we use and store in CPU native format for the interrupt handler) was not updated to do a byte swap when it uses the bulk I/O. Fix this by writing the cache out one register at a time. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed