aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorPhillip Potter <[email protected]>2021-05-03 13:57:22 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-13 18:32:35 +0200
commit5e70b8e22b64eed13d5bbebcb5911dae65bf8c6b (patch)
tree53c1ab065fad5acc6556f96309ddfe73a070d1d5 /drivers/fpga/fpga-bridge.c
parent1e0ce84215dbfd6065872e5d3755352da34f198b (diff)
ASoC: rt5645: add error checking to rt5645_probe function
Check for return value from various snd_soc_dapm_* calls, as many of them can return errors and this should be handled. Also, reintroduce the allocation failure check for rt5645->eq_param as well. Make all areas where return values are checked lead to the end of the function in the case of an error. Finally, introduce a comment explaining how resources here are actually eventually cleaned up by the caller. Cc: Mark Brown <[email protected]> Signed-off-by: Phillip Potter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions