[PATCH 1/7] ASoC: spacemit: fix RX DMA params not set when TX is running
Mark Brown
broonie at kernel.org
Tue Apr 28 19:28:26 PDT 2026
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260429/919c27b6/attachment.sig>
More information about the linux-riscv
mailing list