mmc: omap_hsmmc: Fix pbias_disable for omap4
authorBalaji T K <balajitk@ti.com>
Sun, 20 Oct 2013 18:55:18 +0000 (00:25 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:17 +0000 (20:26 -0400)
commite002264f7e45d7661b237045577052fd0b40f89c
tree5642f07d21f6932b2010c4aaf352f99c890bdb29
parent372c463487c6af8275d216f4b259dda6343a33a5
mmc: omap_hsmmc: Fix pbias_disable for omap4

pbias_disable is set to protect the mmc pbias i/o cells in DT boot
by preventing voltage switch. Currently pbias_disable is enabled only
for omap3 and not for omap4 due to reg_offset difference of 0x100.
Enable pbias_disable for omap4+ too by using res->start
which does not include the reg_offset.

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