Browse Source

Merge "soc: soundwire: update log type for soundwire"

qctecmdr 5 years ago
parent
commit
e5994a8348
1 changed files with 1 additions and 1 deletions
  1. 1 1
      soc/swr-mstr-ctrl.c

+ 1 - 1
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;
 	}