Skip to content
Verified Commit 5337ff41 authored by Ryan Roberts's avatar Ryan Roberts Committed by Mark Brown
Browse files

ASoC: soc-utils: Remove PAGE_SIZE compile-time constant assumption



In pursuit of the goal of supporting boot-time page size selection,
remove use of PAGE_SIZE from the dummy_dma_hardware struct definition,
since the value is not known at compile-time for this config.

Given the previous parameters were "essentially random", let's just
hardcode them as 4K and 4K*2 to sidestep the need to boot-time patch the
structure with the selected PAGE_SIZE.

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
Link: https://patch.msgid.link/20241021130308.3616451-1-ryan.roberts@arm.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 478fc2f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment