[PATCH v2] usb: chipidea: ci13xxx_imx: Use dev_dbg for pinctrl message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Since commit b4dbb258b67 (USB: chipidea: imx: add pinctrl support) the 
following message is seen during boot:

imx_usb 80080000.usb: pinctrl get/select failed, err=-19         

, which does not provide a very useful, nor informative log.

Currently there are no i.MX devicetree files that provide the usb pinctrl node
, causing the pinctrl error path to always execute.

It is fine to run the USB controller on i.MX SoCs without providing the pinctrl 
node as the USB pins come in USB functionality by default.

Move the message to dev_dbg level.

Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
---
Changes since v1:
- Improve commit log
- Improve pinctrl dbg message

 drivers/usb/chipidea/ci13xxx_imx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c
index 8faec9d..9d6afab 100644
--- a/drivers/usb/chipidea/ci13xxx_imx.c
+++ b/drivers/usb/chipidea/ci13xxx_imx.c
@@ -124,7 +124,7 @@ static int ci13xxx_imx_probe(struct platform_device *pdev)
 
 	pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
 	if (IS_ERR(pinctrl))
-		dev_warn(&pdev->dev, "pinctrl get/select failed, err=%ld\n",
+		dev_dbg(&pdev->dev, "pinctrl get/select failed, err=%ld\n",
 			PTR_ERR(pinctrl));
 
 	data->clk = devm_clk_get(&pdev->dev, NULL);
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux