Re: [PATCH] iio: dac: mcp47a1: Allow full-scale output

From: Jonathan Cameron

Date: Sat Sep 05 2026 - 23:59:49 EST


On Fri, 4 Sep 2026 12:51:04 +0000 (UTC)
Tuna Kılıç <tuna@xxxxxxxxxxxxx> wrote:

> On Fri, Sep 4, 2026 at 2:38 PM Joshua Crofts <joshua.crofts1@xxxxxxxxx> wrote:
> > Can I ask how this was found? Manual code analysis or AI?
>
> I noticed it while reviewing the driver's range handling and then
> compared it with the MCP47A1 datasheet. AI was used as an aid during
> the analysis, but I manually verified the datasheet values, in_range()
> semantics, and the final patch before sending it.
>
If AI had anything much to do with generating the patch then
a tag for Assisted-by: LLM is appropriate as part of the tags
block. Same if the bug was found via LLM.

The verification is good though.

I'll wait for tags from Joshua on this once testing is done.

Jonathan

> I don't have MCP47A1 hardware available, so the testing was limited to
> build and static checks.
>
> Thanks,
> Tuna