pmaports/device/community/linux-postmarketos-omap/0002-hsi-dma-fix.patch
Sicelo A. Mhlongo 1a7f64fc76
linux-postmarketos-omap: upgrade to 7.1.3
- espresso is now upstream, so drop patches adding it
- renumber remaining patches
- replace omap4 CFI patch with upstream version
- migrate config and pass kconfig checks
- add new required makedepends

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9024>
2026-07-28 05:45:03 +00:00

17 lines
546 B
Diff

diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c
index eeacc427fd659..19bb02bec8018 100644
--- a/drivers/hsi/controllers/omap_ssi_core.c
+++ b/drivers/hsi/controllers/omap_ssi_core.c
@@ -502,6 +502,12 @@ static int ssi_probe(struct platform_device *pd)
pm_runtime_enable(&pd->dev);
+ ssi->device.dma_mask = &ssi->device.coherent_dma_mask;
+
+ err = dma_set_mask_and_coherent(&ssi->device, DMA_BIT_MASK(32));
+ if (err < 0)
+ goto out2;
+
err = ssi_hw_init(ssi);
if (err < 0)
goto out2;