rtc: mxc: use a second rtc clock
authorPhilippe Reynes <tremyfr@gmail.com>
Sun, 26 Jul 2015 21:37:50 +0000 (23:37 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 5 Aug 2015 12:03:46 +0000 (20:03 +0800)
commit8f5fe77828e16ef6fd8e4931ab177b41449ce8fc
treeeae16ce3c88080cd094903ef5c8a62d45b4dc159
parentdef56bba7a5c623fd887d1f4b4c864521d615a76
rtc: mxc: use a second rtc clock

The mxc RTC needs two clocks, one for the input
reference, and one for the IP. But this driver
was only using one clock (for the reference).
This patch add the second clock (for the IP).

Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/rtc/rtc-mxc.c