summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-03 13:57:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-03 08:38:09 +0200
commit9f1b3a5eaf4483cda3ac95df8e038a548787869b (patch)
treee9d444a9462cd16d9a4f20b5d97eb093ad4c1fe5 /certs
parentfdcf6f9f16ab738e6c76fafc5feeea27e1fe2c83 (diff)
downloadlinux-stable-9f1b3a5eaf4483cda3ac95df8e038a548787869b.tar.gz
linux-stable-9f1b3a5eaf4483cda3ac95df8e038a548787869b.tar.bz2
linux-stable-9f1b3a5eaf4483cda3ac95df8e038a548787869b.zip
ASoC: cs43130: handle errors in cs43130_probe() properly
[ Upstream commit 2da441a6491d93eff8ffff523837fd621dc80389 ] 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 <broonie@kernel.org> Link: https://lore.kernel.org/r/20210503115736.2104747-58-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions