Re: [PATCH 1/7] ASoC: spacemit: fix RX DMA params not set when TX is running

Troy Mitchell
2026-04-29T07:56:56Z

On Wed Apr 29, 2026 at 10:28 AM CST, Mark Brown wrote:
> On Wed, Apr 29, 2026 at 09:38:46AM +0800, Troy Mitchell wrote:
>
>> + val = readl(i2s->base + SSCR);
>> + if (val & SSCR_SSE)
>> + return 0;
>> +
>> val = readl(i2s->base + SSCR);
>> val &= ~SSCR_DW_32BYTE;
>> val |= data_width;
>
> Very minor optimisation but those two SSCR reads could be combined.
Thanks. I'll fix it.

- Troy