Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockchip/64: fix pl330 cyclic dma transfers #7695

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions patch/kernel/archive/rockchip-6.12/armbian.series
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@
patches.armbian/general-dwc2-fix-wait-time.patch
patches.armbian/general-dwc2-nak-gadget.patch
patches.armbian/general-fix-reboot-from-kwiboo.patch
patches.armbian/general-increase-spdif-dma-burst.patch
patches.armbian/general-linux-export-mm-trace-rss-stats.patch
patches.armbian/general-pl330-01-fix-periodic-transfers.patch
patches.armbian/general-pl330-02-add-support-for-interleaved-transfers.patch
patches.armbian/general-pl330-03-fix-data-race-on-tx-transfers.patch
patches.armbian/general-pl330-04-bigger-mcode-buffer.patch
patches.armbian/general-pl330-05-fix-unbalanced-power-down.patch
patches.armbian/general-rk322x-gpio-ir-driver.patch
patches.armbian/general-rockchip-various-fixes.patch
patches.armbian/ir-keymap-rk322x-box.patch
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 379651eb82cf5966a40a5b931afc2fa91c6a311d Mon Sep 17 00:00:00 2001
From: Paolo Sabatino <[email protected]>
Date: Sun, 12 Jan 2025 12:39:03 +0100
Subject: [PATCH 2/2] rockchip: increase SPDIF max burst value to maximum

---
sound/soc/rockchip/rockchip_spdif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c
index d87c0e4f6f91..7a2cfecf6a94 100644
--- a/sound/soc/rockchip/rockchip_spdif.c
+++ b/sound/soc/rockchip/rockchip_spdif.c
@@ -329,7 +329,7 @@ static int rk_spdif_probe(struct platform_device *pdev)

spdif->playback_dma_data.addr = res->start + SPDIF_SMPDR;
spdif->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
- spdif->playback_dma_data.maxburst = 4;
+ spdif->playback_dma_data.maxburst = 8;

spdif->dev = &pdev->dev;
dev_set_drvdata(&pdev->dev, spdif);
--
2.43.0

Loading
Loading