sof
sof copied to clipboard
module_adapter: Fix compile time error
After commit e101aadcd1dc98 ("module_adapter: drop the comp_get_module_data() macro") API prototype was changed to accept a processing_module
instead of a comp_dev
but dev
was still used inside passthrough_codec_free which generates a compile time error:
src/audio/module_adapter/module/passthrough.c:110:12: error: 'dev' undeclared (first use in this function) comp_info(dev, "passthrough_codec_free()");
Signed-off-by: Daniel Baluta [email protected]
@lgirdwood @plbossart i think we need a compile time CI job were we compile the firmware with all configs set to Y.