summaryrefslogtreecommitdiff
path: root/fs/hpfs/dir.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2013-02-15 23:56:49 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-08 16:36:23 +0200
commita5055d5d683605210f77d46614bbdb389c1e4a07 (patch)
tree8d0ce2d4580687da450c5e2dc351c3ec096cd869 /fs/hpfs/dir.c
parentd955cba86d32e9b4b6fe7611b4c41b7bbe286183 (diff)
downloadlinux-a5055d5d683605210f77d46614bbdb389c1e4a07.tar.gz
linux-a5055d5d683605210f77d46614bbdb389c1e4a07.tar.xz
mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion
Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also conversation data in variable twl4030_divider_ratios. These hardcoded channels are incorrect for Nokia RX-51 board (where is channel 0 - battery temperature). For Nokia RX-51 there is rx51_battery power_supply driver which reporting battery information via twl4030_madc_conversion. But this driver needs raw values (not converted via some hardcoded functions). So this patch adding new parameter "raw" to struct twl4030_madc_request which tell twl4030-madc driver to not convert values, but rather return raw. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'fs/hpfs/dir.c')
0 files changed, 0 insertions, 0 deletions