Skip to content
Snippets Groups Projects
Commit ea3a47e3 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

soc: intel_adsp/hda: fix range checking


intel_adsp_hda_set_buffer() asserts when the HDA buffer is
outside of RAM space. However, it uses CONFIG_SRAM_SIZE as
if it is bytes. In reality, CONFIG_SRAM_SIZE is in KB so
we need to multiply it by 1024, or simply use marco KB().

Fixes #74250

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent c1a462e1
No related branches found
No related tags found
No related merge requests found
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