diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2025-07-22 11:27:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-07-22 12:20:42 +0100 |
commit | 5b838a24e9942d8b8da208f924701d0f989778cf (patch) | |
tree | 873b32e6a8eefe776cf3305292341860f5ab919a /rust/helpers/task.c | |
parent | 17882721dcb49323eaa9728d7eaa2ae826c876f7 (diff) |
ASoC: SDCA: Check devm_mutex_init() return value
Fix interaction with commit daec29dcc873 ("locking/mutex: Mark
devm_mutex_init() as __must_check"), add return value check. There is no
need for additional complex error handling here, failure to init the
mutex means the code can't progress, so the failure just needs to be passed
up to the caller.
Fixes: b126394d9ec6 ("ASoC: SDCA: Generic interrupt support")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250722102754.2514351-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions