Skip to content
Unverified Commit c2cbd0a7 authored by Keyon Jie's avatar Keyon Jie Committed by Mark Brown
Browse files

ASoC: topology: remove the redundant pass checks



As we have check the 'pass' in the soc_elem_pass_load(), so no need to
check it again in each specific elem_load function, at the same time,
the tplg->pos will be reset to the next header base when the pass is
mismatched, so the increasing of the tplg->pos in these cases made no
sense. Here remove all of them.

Signed-off-by: default avatarKeyon Jie <yang.jie@linux.intel.com>
Tested-by: default avatarVamshi Kerishna Gopal <vamshi.krishna.gopal@intel.com>
Tested-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200527022801.336264-3-yang.jie@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 82ed7418
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment