aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAdriana Reus <[email protected]>2015-02-23 14:40:51 +0000
committerJonathan Cameron <[email protected]>2015-03-14 18:36:21 +0000
commitaf5e1a68318e2ed2de22fc2d7a02f2882abe073c (patch)
treec6eed53b7effa38d80bf0c6e68fec13d999fc427 /net/switchdev/switchdev.c
parentstaging: iio: dummy: Fix undefined symbol build error (diff)
downloadkernel-af5e1a68318e2ed2de22fc2d7a02f2882abe073c.tar.gz
kernel-af5e1a68318e2ed2de22fc2d7a02f2882abe073c.zip
iio:inv-mpu6050: Fix inconsistency for the scale channel
Fix inconsistency in the semantics of the scale attribute. For scale the write_raw function was considering the scale table index and writing the appropriate value into the range register, while for read_raw it was outputting the actual scale. Fix this behaviour and adhere to the iio ABI specification. Signed-off-by: Adriana Reus <[email protected]> Reviewed-by: Viorel Suman <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions