Skip to content

Commit

Permalink
rockchip/64: improvements to pl330 dma driver
Browse files Browse the repository at this point in the history
  • Loading branch information
paolosabatino committed Jan 26, 2025
1 parent 9ce005f commit 40214ec
Show file tree
Hide file tree
Showing 24 changed files with 3,144 additions and 0 deletions.
5 changes: 5 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,12 @@
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-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

0 comments on commit 40214ec

Please sign in to comment.