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

Mark Brown
2026-04-29T02:28:29Z

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]