]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Only register wm831x RTC device if the 32.768kHz crystal is enabled
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Jun 2011 18:18:50 +0000 (19:18 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:19 +0000 (23:28 +0200)
commit53077c67b389d4408e17ebf18429ccb20696bc7f
tree8907facb28142cfed290221af4d46973c8ea68b1
parentbd2f86a9c658541b91f50afeb1afd85dce1eda79
mfd: Only register wm831x RTC device if the 32.768kHz crystal is enabled

The RTC uses the 32.768kHz crystal so if it's not enabled (and it can only
be enabled via OTP or InstantConfig, not runtime software) the RTC can't
function.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c