From 8c60bb5664acdf6cef299b3e0301f5b02d7b818b Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Wed, 19 Jun 2019 15:49:06 +0800 Subject: [PATCH] soc: soundwire: update log type for soundwire Update pr_err to dev_err to indicate which device has clock mismatch. Change-Id: Icf842ed63aa0a01ace0ff461f8c05194a0e25f92 Signed-off-by: Meng Wang --- soc/swr-mstr-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/swr-mstr-ctrl.c b/soc/swr-mstr-ctrl.c index f5e503efd1dd..30c1f14c416f 100644 --- a/soc/swr-mstr-ctrl.c +++ b/soc/swr-mstr-ctrl.c @@ -311,7 +311,7 @@ static int swrm_clk_request(struct swr_mstr_ctrl *swrm, bool enable) complete(&swrm->clk_off_complete); } if (swrm->clk_ref_count < 0) { - pr_err("%s: swrm clk count mismatch\n", __func__); + dev_err(swrm->dev, "%s: swrm clk count mismatch\n", __func__); swrm->clk_ref_count = 0; }