aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDragos Tarcatu <[email protected]>2019-12-09 18:39:39 -0600
committerMark Brown <[email protected]>2019-12-10 13:10:21 +0000
commita3039aef52d9ffeb67e9211899cd3e8a2953a01f (patch)
tree9a224e6d84d980501516b98f10166ca983292ff2 /lib/netdev-notifier-error-inject.c
parent76d2703649321c296df7ec0dafd50add96215de4 (diff)
ASoC: topology: Check return value for soc_tplg_pcm_create()
The return value of soc_tplg_pcm_create() is currently not checked in soc_tplg_pcm_elems_load(). If an error is to occur there, the topology ignores it and continues loading. Fix that by checking the status and rejecting the topology on error. Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Dragos Tarcatu <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions