sof icon indicating copy to clipboard operation
sof copied to clipboard

module_adapter: Fix compile time error

Open dbaluta opened this issue 2 years ago • 1 comments

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]

dbaluta avatar Oct 19 '22 07:10 dbaluta

@lgirdwood @plbossart i think we need a compile time CI job were we compile the firmware with all configs set to Y.

dbaluta avatar Oct 19 '22 07:10 dbaluta