aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2021-11-04 01:24:08 -0700
committerJonathan Cameron <[email protected]>2021-11-21 13:45:23 +0000
commit652e7df485c6884d552085ae2c73efa6cfea3547 (patch)
treee1aeaffaec5814e7ed708605d5e360c25372e77f /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent92beafb76a31bdc02649eb44e93a8e4f4cfcdbe8 (diff)
iio: at91-sama5d2: Fix incorrect sign extension
Use scan_type when processing raw data which also fixes that the sign extension was from the wrong bit. Use channel definition as root of trust and replace constant when reading elements directly using the raw sysfs attributes. Fixes: 6794e23fa3fe ("iio: adc: at91-sama5d2_adc: add support for oversampling resolution") Signed-off-by: Gwendal Grignou <[email protected]> Reviewed-by: Eugen Hristev <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions