mfd: Turn on the twl4030-madc MADC clock
commit3d6271f92e98094584fd1e609a9969cd33e61122
authorKyle Manna <kyle@kylemanna.com>
Fri, 12 Aug 2011 03:33:13 +0000 (11 22:33 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:10 +0000 (24 14:09 +0200)
treea3091ebc18edf9a2cef177bace2aea8b0b16d8ea
parent881de67046f424fc3a6e05b1c681c12afd94e802
mfd: Turn on the twl4030-madc MADC clock

Without turning the MADC clock on, no MADC conversions occur.

$ cat /sys/class/hwmon/hwmon0/device/in8_input
[   53.428436] twl4030_madc twl4030_madc: conversion timeout!
cat: read error: Resource temporarily unavailable

Signed-off-by: Kyle Manna <kyle@kylemanna.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-madc.c
include/linux/i2c/twl4030-madc.h