[PATCH] dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH
Martin Povišer
povik+lin at cutebit.org
Sun Oct 29 10:10:41 PDT 2023
> On 29. 10. 2023, at 18:00, Martin Povišer <povik+lin at cutebit.org> wrote:
>
> From: Hector Martin <marcan at marcan.st>
>
> For RX channels, REG_BUS_WIDTH seems to default to a value of 0xf00, and
> macOS preserves the upper bits when setting the configuration in the
> lower ones. If we reset the upper bits to 0, this causes framing errors
> on suspend/resume (the data stream "tears" and channels get swapped
> around). Keeping the upper bits untouched, like the macOS driver does,
> fixes this issue.
>
> Signed-off-by: Hector Martin <marcan at marcan.st>
> Reviewed-by: Martin Povišer <povik at cutebit.org>
> Signed-off-by: Martin Povišer <povik at cutebit.org>
> ---
Please take up v2 instead. I slipped in the wrong email address in here,
which I don’t want to subscribe for kernel spam with.
https://lore.kernel.org/dmaengine/20231029170704.82238-1-povik+lin@cutebit.org/T/#u
Thanks!
Kind regards,
Martin
More information about the linux-arm-kernel
mailing list