aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorYe Xiang <xiang.ye@intel.com>2021-01-30 18:25:30 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-01-30 20:38:10 +0000
commitd68c592e02f6f49a88e705f13dfc1883432cf300 (patch)
treee2eab0163179466550448b6a344b43dc34882865 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com
parentiio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel (diff)
downloadlinux-dev-d68c592e02f6f49a88e705f13dfc1883432cf300.tar.xz
linux-dev-d68c592e02f6f49a88e705f13dfc1883432cf300.zip
iio: hid-sensor-prox: Fix scale not correct issue
Currently, the proxy sensor scale is zero because it just return the exponent directly. To fix this issue, this patch use hid_sensor_format_scale to process the scale first then return the output. Fixes: 39a3a0138f61 ("iio: hid-sensors: Added Proximity Sensor Driver") Signed-off-by: Ye Xiang <xiang.ye@intel.com> Link: https://lore.kernel.org/r/20210130102530.31064-1-xiang.ye@intel.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions