ARM: OMAP: fix MMC2 loopback clock handling
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 12 Jan 2012 14:26:45 +0000 (16:26 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Jan 2012 00:38:47 +0000 (16:38 -0800)
commitd82e5190da9057e31d6f0fe5771dfbe55ff9125f
treecc6f7137ff927f2ed9a1d2a71e0454652a6dc5e7
parentffa1e4ede453cf92cfcd9f96f9140c21aeb319f7
ARM: OMAP: fix MMC2 loopback clock handling

Currently MMC2 setup code can only enable loopback clock and
relies on reset value for boards that need to have it disabled.
This causes a problem with certain bootloaders that always enable
that clock, resulting with unwanted bootloader dependencies.

Fix this by making it disable the clock if board data says so.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c