Commit 8427e0b5 authored by Nayab Sayed's avatar Nayab Sayed Committed by Greg Kroah-Hartman
Browse files

iio: adc: at91-sama5d2_adc: fix sama7g5 realbits value



commit aa5119c3 upstream.

The number of valid bits in SAMA7G5 ADC channel data register are 16.
Hence changing the realbits value to 16

Fixes: 840bf6cb ("iio: adc: at91-sama5d2_adc: add support for sama7g5 device")
Signed-off-by: default avatarNayab Sayed <nayabbasha.sayed@microchip.com>
Link: https://patch.msgid.link/20250115-fix-sama7g5-adc-realbits-v2-1-58a6e4087584@microchip.com


Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4ee0bee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment