ARM: OMAP: fix MMC2 loopback clock handling
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 11 Jan 2012 14:03:48 +0000 (16:03 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:47 +0000 (17:09 +0200)
commit7b31eca6404c8f3caacfc0fcf7039f3f1a443473
treeccb4603eec0960b200b706139159dd58fb659d5b
parent47d6238fc40ce78c332a62a0715f3d6e880dc85a
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 in unwanted bootloader dependencies.
Fix this by making it disable the clock if board data says so.
arch/arm/mach-omap2/hsmmc.c