aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorHector Martin <[email protected]>2023-10-29 18:07:04 +0100
committerVinod Koul <[email protected]>2023-11-24 18:57:56 +0530
commit306f5df81fcc89b462fbeb9dbe26d9a8ad7c7582 (patch)
tree6e44c1ca78926c92585b0d47193fbf346c3b8b83 /lib/netdev-notifier-error-inject.c
parent375ff42c4c9825c19a53b9095ae4b3337cc83442 (diff)
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 <[email protected]> Reviewed-by: Martin Povišer <[email protected]> Signed-off-by: Martin Povišer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions