]> git.baikalelectronics.ru Git - kernel.git/commit
sdhci-of: Fix the wrong accessor to HOSTVER register
authorDave Liu <daveliu@freescale.com>
Wed, 6 May 2009 10:40:07 +0000 (18:40 +0800)
committerPierre Ossman <pierre@ossman.eu>
Wed, 3 Jun 2009 19:56:22 +0000 (21:56 +0200)
commit905cb150048a8e5f3f2185b28e8bf6ab2e842062
tree5bfd0c1d39e0f65a61f8dd78ea755c86973ba61b
parent62a4b3332d5e9df0948bc7a4b9a4d166c59b98b0
sdhci-of: Fix the wrong accessor to HOSTVER register

Freescale eSDHC controller has the special order for
the HOST version register. that is not same as the other's
registers. The address of HOSTVER in spec is 0xFE, and
we need use the in_be16(0xFE) to access it, not in_be16(0xFC).

Signed-off-by: Dave Liu <daveliu@freescale.com>
Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/sdhci-of.c