• Pierre-Louis Bossart's avatar
    ASoC: SOF: Intel: hda-mlink: fix base_ptr computation · af8c32b1
    Pierre-Louis Bossart authored
    The base_ptr value needs to be derived from the remap_addr pointer,
    not the ml_addr. This base_ptr was used only in debug logs that were
    so far not contributed upstream so the issue was not detected. It
    needs to be fixed for SoundWire support on LunarLake.
    
    Fixes: 17c9b6ec ("ASoC: SOF: Intel: hda-mlink: add structures to parse ALT links")
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
    Reviewed-by: Rander Wang <rander.wang@intel.com
    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
    Link: https://lore.kernel.org/r/20230512174611.84372-4-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org
    af8c32b1
hda-mlink.c 22 KB