Re: [PATCH] usb: wusbcore: add debug prints to reservation and channel change

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

 



On Fri, Dec 20, 2013 at 10:55:34AM -0600, Thomas Pugliese wrote:
> This patch adds debug prints to the reservation and channel change 
> sequence to help with debugging channel change problems.
> 
> Signed-off-by: Thomas Pugliese <thomas.pugliese@xxxxxxxxx>
> ---
>  drivers/usb/wusbcore/pal.c         |    1 +
>  drivers/usb/wusbcore/reservation.c |    1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/drivers/usb/wusbcore/pal.c b/drivers/usb/wusbcore/pal.c
> index 59e100c..d427e62 100644
> --- a/drivers/usb/wusbcore/pal.c
> +++ b/drivers/usb/wusbcore/pal.c
> @@ -22,6 +22,7 @@ static void wusbhc_channel_changed(struct uwb_pal *pal, int channel)
>  {
>  	struct wusbhc *wusbhc = container_of(pal, struct wusbhc, pal);
>  
> +	pr_info("%s: channel = %d\n", __func__, channel);

That's not a "debug" message, it's a "let's annoy all users" message.

Please make it a dev_dbg() call if you want a debug message.

thanks,

greg k-h
--
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