ASoC: topology: refine and log the header in the correct pass
The check (tplg->pass == le32_to_cpu(hdr->type)) makes no sense as it is comparing two different enums, refine the element loading functions, and log the information when the header is being parsed in the corresponding parsing pass. Signed-off-by:Keyon Jie <yang.jie@linux.intel.com> Tested-by:
Vamshi Kerishna Gopal <vamshi.krishna.gopal@intel.com> Tested-by:
Cezary Rojewski <cezary.rojewski@intel.com> Reviewed-by:
Cezary Rojewski <cezary.rojewski@intel.com> Reviewed-by:
Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20200527022801.336264-2-yang.jie@linux.intel.com Signed-off-by:
Mark Brown <broonie@kernel.org>
parent
4a043450
Please register or sign in to comment