From: Ben Dooks Date: Wed, 25 Mar 2015 11:27:52 +0000 (+0000) Subject: mmc: dw_mmc: fix fifo ordering in big endian X-Git-Tag: omap-for-v4.1/fixes-rc1~178^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76184ac17edf3c640390b0eddc3aa7be1095fb9f;p=pandora-kernel.git mmc: dw_mmc: fix fifo ordering in big endian The dw_mmc driver changes to make the IO accesors endian agnostic did not take into account the fifo accesses do not need to be swapped. To fix this add a mmci_fifo_read/write wrapper to allow these to be passed through the IO without being swapped. Since these are now specific functions, it would be easier just to store the pointer to the fifo registers in the host block instead of the offset to them. So change the host->data_offset to host->fifo_reg (which also means we catch all the places this is read or written). Signed-off-by: Ben Dooks Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed