mmc: dw_mmc: make IO accessors endian agnostic
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 25 Mar 2015 11:27:50 +0000 (11:27 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 9 Apr 2015 07:07:38 +0000 (09:07 +0200)
commita2f17680f42878ee8d55a5e66c1466465a412f62
treedf7f8647e2222d944a6b40b15f7c10e2b7d0ba2d
parentf5c5179b9a8ab8e3255f78e233d94ea54f23f832
mmc: dw_mmc: make IO accessors endian agnostic

The dw_mmc driver does not use endian agnostic IO accessors, so fix
the use of __raw reads and writes to be the relaxed versions.

This fixes the dw_mmc driver initialisation on Altera socfpga in big endian.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.h