Re: [PATCH v4 5/5] usb: host: enable sideband transfer during system sleep
From: Guan-Yu Lin
Date: Fri Oct 11 2024 - 03:34:34 EST
On Wed, Oct 9, 2024 at 8:47 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 09, 2024 at 05:42:59AM +0000, Guan-Yu Lin wrote:
> > @@ -1583,6 +1583,11 @@ int usb_suspend(struct device *dev, pm_message_t msg)
> > struct usb_device *udev = to_usb_device(dev);
> > int r;
> >
> > + if (msg.event == PM_EVENT_SUSPEND && usb_sideband_check(udev)) {
> > + dev_info(dev, "device active, skip %s", __func__);
>
> When drivers work properly, they are quiet. Why all of the loud
> shouting in this patch as it goes about it's business?
>
> also, __func__ is redundant in dev_*() calls :)
>
> thanks,
>
> greg k-h
Thanks for the suggestions. Let me switch to dev_dbg and remove
__func__ in the next patch.
Regards,
Guan-Yu