diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-09-20 01:57:11 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-20 10:39:22 +0530 |
commit | c6867cda906aadbce5e71efde9c78a26108b2bad (patch) | |
tree | 36e6c0758707c1023fab0bedbde2517b216ddd95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bafb1eacfbd98c6cdbca7e1723ef933ad371cd51 (diff) |
soundwire: intel: fix error handling on dai registration issues
The call to intel_register_dai() may fail because of memory allocation
issues or problems reported by the ASoC core. In all cases, when a
error is thrown the component is not registered, it's invalid to
unregister it.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220919175721.354679-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions