]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: ad4030: explain rearranging raw sample data
authorDavid Lechner <dlechner@baylibre.com>
Mon, 10 Mar 2025 20:43:08 +0000 (15:43 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 7 Apr 2025 18:34:11 +0000 (19:34 +0100)
commit9415c8b5b9b7ba927d98f80022a2890e8639e9e4
tree426adefabb0b7185cf101ddd5073678e044fa02d
parent15ffee89c7c6d8ac3509e301dd29bab687323133
iio: adc: ad4030: explain rearranging raw sample data

Add a comment explaining why the raw sample data is rearranged in the
in the ad4030_conversion() function. It is not so obvious from the code
why this is done.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250310-iio-adc-ad4030-check-scan-type-err-v1-5-589e4ebd9711@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad4030.c