diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-03-31 14:49:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-04 14:25:36 +0100 |
commit | 9c363532413cda3e2c6dfa10e5cca7cd221877a0 (patch) | |
tree | 926d5c1af291900f9b12c0856207370a26c51fc7 /Documentation/fb/viafb.rst | |
parent | c775cbf62ed4911e4f0f23880f01815753123690 (diff) |
ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
Academic correction of error handling:
In case the allocation of kc or kcontrol_type fails the correct label to
jump is hdr_err since the template.sname has been also allocated at this
point.
Fixes: d29d41e28eea6 ("ASoC: topology: Add support for multiple kcontrol types to a widget")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220331114957.519-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/fb/viafb.rst')
0 files changed, 0 insertions, 0 deletions