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

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

 



On Wed, Apr 24, 2013 at 02:19:19PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> 
> Currently we always get the following message during boot:
> 
> imx_usb 80080000.usb: pinctrl get/select failed, err=-19         
> 
> ,which is not very useful during standard usage.
> 
> Move it to dev_dbg.
Is it a real problem when devm_pinctrl_get_select_default fails? What
would be needed to make the call succeed?

Best regards
Uwe
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
>  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
> 
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
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