Re: [PATCH] iio: adc: ad7606: fix serial register access
From: David Lechner
Date: Fri Apr 18 2025 - 12:17:55 EST
On 4/18/25 10:56 AM, Jonathan Cameron wrote:
> On Thu, 17 Apr 2025 23:42:51 +0200
> Angelo Dureghello <adureghello@xxxxxxxxxxxx> wrote:
>
>> From: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
>>
>> Fix register read/write routine as per datasheet.
>>
>> When reading multiple consecutive registers, only the first one is read
>> properly. This is due to missing chip select between first and second
>> 16bit transfer.
> In what sense of missing? Given code you mean missing being unselected
> briefly between transfers I think.
>
> chip select itself is always set in current code and hence the 'missing'
> description had me confused!
Agree it would be better to describe this as missing the momentary chip select
deassert between the transfers.
Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>