Re: (subset) [PATCH v3 1/2] mfd: sprd-sc27xx: Pass byte length to spi_read()
From: Lee Jones
Date: Wed Nov 04 2026 - 06:20:51 EST
On Mon, 26 Oct 2026 23:32:52 +0800, Weibin Liu wrote:
> sprd_pmic_spi_read() passes 1 as the transfer length to spi_read(),
> but the length parameter is a byte count, and the ADI controller
> consumes a u32 register address from the buffer. The ADI driver
> ignores the transfer length and always operates on the first u32,
> so this happens to work with the 8-byte stack buffer, but the
> advertised length does not describe what the controller actually
> accesses.
>
> [...]
Applied, thanks!
[1/2] mfd: sprd-sc27xx: Pass byte length to spi_read()
commit: aa474d0abf753cadb1fce6f1d129eefa39ec223e
--
Lee Jones [李琼斯]