mmc: omap_hsmmc: fix module re-insertion
authorBalaji T K <balajitk@ti.com>
Mon, 2 Apr 2012 06:56:47 +0000 (12:26 +0530)
committerChris Ball <cjb@laptop.org>
Fri, 6 Apr 2012 00:32:30 +0000 (20:32 -0400)
commitfc307df88f0d77505c19756d95be66c981c421ea
tree3a35a8261cddfa9afeda36d940dd0fb70013f952
parentb796450b4590dbaee2d31c85b04791cafacff9b4
mmc: omap_hsmmc: fix module re-insertion

OMAP4 and OMAP3 HSMMC IP registers differ by 0x100 offset.
Adding the offset to platform_device resource structure
increments the start address for every insmod operation.
MMC command fails on re-insertion as module due to incorrect register
base.  Fix this by updating the ioremap base address only.

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c