Message ID | 20240129152557.3221212-6-ckeepax@opensource.cirrus.com |
---|---|
State | Accepted |
Commit | cab2ce7fce877dfd27af6eab0d7a36ee068dddda |
Headers | show |
Series | [v4,1/6] spi: cs42l43: Tidy up header includes | expand |
diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index aea0f8f48578..56bd9dbbe10b 100644 --- a/drivers/mfd/cs42l43.c +++ b/drivers/mfd/cs42l43.c @@ -1065,7 +1065,9 @@ int cs42l43_dev_probe(struct cs42l43 *cs42l43) * the boot work runs. */ pm_runtime_get_noresume(cs42l43->dev); - devm_pm_runtime_enable(cs42l43->dev); + ret = devm_pm_runtime_enable(cs42l43->dev); + if (ret) + return ret; queue_work(system_long_wq, &cs42l43->boot_work);