diff options
author | Hector Martin <marcan@marcan.st> | 2023-10-29 18:07:04 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-11-24 14:27:56 +0100 |
commit | 306f5df81fcc89b462fbeb9dbe26d9a8ad7c7582 (patch) | |
tree | 6e44c1ca78926c92585b0d47193fbf346c3b8b83 /Documentation/devicetree/bindings/dma/dma-router.yaml | |
parent | dt-bindings: dma: qcom,gpi: document the SM8650 GPI DMA Engine (diff) | |
download | linux-306f5df81fcc89b462fbeb9dbe26d9a8ad7c7582.tar.xz linux-306f5df81fcc89b462fbeb9dbe26d9a8ad7c7582.zip |
dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH
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@marcan.st>
Reviewed-by: Martin Povišer <povik+lin@cutebit.org>
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20231029170704.82238-1-povik+lin@cutebit.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions