]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Turn on the twl4030-madc MADC clock
authorKyle Manna <kyle@kylemanna.com>
Fri, 12 Aug 2011 03:33:13 +0000 (22:33 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 6 Oct 2011 14:43:56 +0000 (16:43 +0200)
commitde7bec27bbb88e6b8a809bdc6d1bc602888be319
treec8d3b12d52fbf53720bf0163e0d553fa8746f50a
parent5dfb5ffe193d73de866cec36634954c3ab4b365e
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