mmc: sdhci-esdhc-imx: Correct two register accesses
authorAaron Brice <aaron.brice@datasoft.com>
Mon, 10 Oct 2016 18:39:52 +0000 (11:39 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 13 Oct 2016 06:58:03 +0000 (08:58 +0200)
commit77da3da0b22a67508eb1cf2b241a1fe852a6cb1a
tree3dfe0f4075be037e28b5bb58bcd34d51959e4d70
parentfee686b74a9c115d3c4c851eb6613d1378ad0e0c
mmc: sdhci-esdhc-imx: Correct two register accesses

- The DMA error interrupt bit is in a different position as
   compared to the sdhci standard.  This is accounted for in
   many cases, but not handled in the case of clearing the
   INT_STATUS register by writing a 1 to that location.
 - The HOST_CONTROL register is very different as compared to
   the sdhci standard.  This is accounted for in the write
   case, but not when read back out (which it is in the sdhci
   code).

Signed-off-by: Dave Russell <david.russell@datasoft.com>
Signed-off-by: Aaron Brice <aaron.brice@datasoft.com>
Acked-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c