linux/drivers/staging/iio
Jeremy Fertic 32f228cb2a staging: iio: adt7316: change interpretation of write to dac update mode
Based on the output of adt7316_show_all_DAC_update_modes() and
adt7316_show_DAC_update_mode(), adt7316_store_DAC_update_mode() should
expect the user to enter an integer input from 0 to 3. The user input is
currently expected to account for the actual bit positions in the register.
For example, choosing option 3 would require a write of 0x30 (actually 48
since it expects base 10). To address this inconsistency, create a shift
macro to be used in the valid input check as well as the calculation for
the register write.

Signed-off-by: Jeremy Fertic <jeremyfertic@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-12-16 14:05:56 +00:00
..
accel staging:iio:accel:adis16240: sign extend function replace hard code duplication 2018-06-24 14:45:06 +01:00
adc staging: iio: adc: ad7280a: fix overwrite of the returned value 2018-12-02 15:36:28 +00:00
addac staging: iio: adt7316: change interpretation of write to dac update mode 2018-12-16 14:05:56 +00:00
cdc staging: iio: cdc: ad7150: fix misaligned lines 2018-10-07 20:08:04 +01:00
Documentation staging:iio:docs: drop setting of THIS_MODULE from staging docs. 2017-09-03 18:10:28 +01:00
frequency drivers: iio: Update MODULE AUTHOR email address 2018-08-19 17:23:39 +01:00
impedance-analyzer staging: iio: ad5933: add device tree support 2018-11-25 09:58:08 +00:00
meter staging:iio:meter: Drop ADE7759 driver 2018-05-20 12:21:54 +01:00
resolver staging:iio:ad2s90: Move out of staging 2018-12-01 15:40:39 +00:00
Kconfig staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
Makefile staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
TODO staging: iio: Augment TODO file with GPIO work item 2018-04-23 14:36:10 +02:00