summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>2026-07-24 16:05:22 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-26 02:20:07 +0200
commite81250ec6b69248b00d38c523dc6a13efaf38aab (patch)
tree4f8a816f8b05d9cfa772a205ff9cdf600eff439d /scripts/objdiff
parent659287caa77a73873ecd71f27b5f3d967a85fd3f (diff)
downloadlinux-e81250ec6b69248b00d38c523dc6a13efaf38aab.tar.gz
linux-e81250ec6b69248b00d38c523dc6a13efaf38aab.zip
hsi: omap_ssi_core: fix missing DMA mask setup for SSI controller device
The OMAP SSI driver uses a synthetic HSI controller device allocated via hsi_alloc_controller(), which does not go through the normal OF/platform device initialization path. As a result, the embedded struct device does not have a DMA mask initialized by default. After recent DMA API hardening changes, dma_map_sg() and related helpers now require a valid dma_mask to be present, otherwise the driver may crash or trigger warnings when attempting DMA mapping operations. Fix this by explicitly initializing the DMA mask for the SSI controller device and setting a 32-bit DMA mask, which matches the hardware capabilities. Cc: stable@vger.kernel.org Fixes: f959dcd6ddfd ("dma-direct: Fix potential NULL pointer dereference") Reported-by: Merlijn Wajer <merlijn@wizzup.org> Closes: https://lore.kernel.org/linux-omap/4ed95c71-2066-6b4c-ad1b-53ef02d79d53@wizzup.org/ Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> Link: https://patch.msgid.link/20260724130522.706480-1-ivo.g.dimitrov.75@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions