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

From: Mark Brown

Date: Tue Apr 28 2026 - 22:34:00 EST


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: signature.asc
Description: PGP signature