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)
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>

No differences found