summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2020-05-27 10:28:00 +0800
committerMark Brown <broonie@kernel.org>2020-05-29 13:06:41 +0100
commit82ed7418736ded9c24529987d5aa9a39c185e4e9 (patch)
tree813649fbaf11c8899e9c941f8500d5ceb34a6b4a /include
parent4a0434502191347ba8f99468f2fb2cdddc20d381 (diff)
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions