]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: mediatek: mt8183-afe-pcm: Support >32 bit DMA addresses
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 12 Jun 2025 07:48:58 +0000 (15:48 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 Jun 2025 12:45:36 +0000 (13:45 +0100)
commit9e7bc5cb8d089d9799e17a9ac99c5da9b13b02e3
treee537d650fa1964be9b70bd27689c1ee9d5975b92
parentec4a10ca4a68ec97f12f4d17d7abb74db34987db
ASoC: mediatek: mt8183-afe-pcm: Support >32 bit DMA addresses

The AFE DMA hardware supports up to 34 bits for DMA addresses. This is
missing from the driver and prevents reserved memory regions from
working properly when the allocated region is above the 4GB line.

Fill in the related register offsets for each DAI, and also set the
DMA mask. Also fill in the LSB end register offsets for completeness.

Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://patch.msgid.link/20250612074901.4023253-8-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c