ASoC: cs42l43: Handle error from devm_pm_runtime_enable
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 6 Feb 2024 11:38:49 +0000 (11:38 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 7 Feb 2024 10:34:20 +0000 (10:34 +0000)
commitd1722057477a3786b8c0d60c28fc281f6ecf1cc3
tree40b221e18eb546cb49c4db0728b3b72166594888
parent610010737f74482a61896596a0116876ecf9e65c
ASoC: cs42l43: Handle error from devm_pm_runtime_enable

As devm_pm_runtime_enable can fail due to memory allocations, it is
best to handle the error.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240206113850.719888-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l43.c