rtc: omap: Add external clock enabling support
authorKeerthy <j-keerthy@ti.com>
Tue, 18 Aug 2015 09:41:16 +0000 (15:11 +0530)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:21 +0000 (19:37 +0200)
commit399cf0f63f6f24d7a837fbfbc801010cb6e77579
treea2a48fe8f0a07fac664f91149925c378e4f126a1
parent532409aa1ba8b69d5a3dea159d4b1bd9adbd7a46
rtc: omap: Add external clock enabling support

Configure the clock source to external clock if available.
External clock is preferred as it can be ticking during suspend.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-omap.c