Re: [PATCH v2 2/3] iio: adc: ad4695: make ad4695_exit_conversion_mode() more robust
From: Jonathan Cameron
Date: Sat Jan 18 2025 - 12:12:52 EST
On Wed, 13 Nov 2024 15:52:59 -0500
Trevor Gamblin <tgamblin@xxxxxxxxxxxx> wrote:
> Ensure that conversion mode is successfully exited when the command is
> issued by adding an extra transfer beforehand, matching the minimum CNV
> high and low times from the AD4695 datasheet. The AD4695 has a quirk
> where the exit command only works during a conversion, so guarantee this
> happens by triggering a conversion in ad4695_exit_conversion_mode().
> Then make this even more robust by ensuring that the exit command is run
> at AD4695_REG_ACCESS_SCLK_HZ rather than the bus maximum.
>
> Signed-off-by: Trevor Gamblin <tgamblin@xxxxxxxxxxxx>
Applied 2 and 3 to the testing branch of iio.git.
I'll be rebasing that on rc1 once available.
Thanks,
Jonathan