[PATCH 1/7] ASoC: spacemit: fix RX DMA params not set when TX is running
Troy Mitchell
troy.mitchell at linux.spacemit.com
Wed Apr 29 00:56:47 PDT 2026
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
More information about the linux-riscv
mailing list