summaryrefslogtreecommitdiff
path: root/drivers/soundwire
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soundwire')
-rw-r--r--drivers/soundwire/swr-wcd-ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/swr-wcd-ctrl.c b/drivers/soundwire/swr-wcd-ctrl.c
index ce2cc512caa9..41fa196cb54c 100644
--- a/drivers/soundwire/swr-wcd-ctrl.c
+++ b/drivers/soundwire/swr-wcd-ctrl.c
@@ -1320,7 +1320,7 @@ static int swrm_get_logical_dev_num(struct swr_master *mstr, u64 dev_id,
found:
pm_runtime_mark_last_busy(&swrm->pdev->dev);
pm_runtime_put_autosuspend(&swrm->pdev->dev);
- return ret;
+ return 0;
}
static int swrm_master_init(struct swr_mstr_ctrl *swrm)
{