aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-05-03 13:57:24 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-13 18:32:38 +0200
commit2da441a6491d93eff8ffff523837fd621dc80389 (patch)
treeaa2f4ed4146812544b681f3d61f6a244e8d64a11 /drivers/fpga/fpga-bridge.c
parentfdda0dd2686ecd1f2e616c9e0366ea71b40c485d (diff)
ASoC: cs43130: handle errors in cs43130_probe() properly
cs43130_probe() does not do any valid error checking of things it initializes, OR what it does, it does not unwind properly if there are errors. Fix this up by moving the sysfs files to an attribute group so the driver core will correctly add/remove them all at once and handle errors with them, and correctly check for creating a new workqueue and unwinding if that fails. Cc: Mark Brown <[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