Commit 0442d7b0 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Greg Kroah-Hartman

usb: hub: Reduce warning to notice on power loss

Currently we warn the user when the root hub lost power after resume,
but the user cannot do anything about it so it should probably be a
notice.

This will reduce the noise in the console during suspend and resume,
which is already quite significant in many systems.
Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d23ee9c
...@@ -3655,7 +3655,7 @@ static int hub_reset_resume(struct usb_interface *intf) ...@@ -3655,7 +3655,7 @@ static int hub_reset_resume(struct usb_interface *intf)
*/ */
void usb_root_hub_lost_power(struct usb_device *rhdev) void usb_root_hub_lost_power(struct usb_device *rhdev)
{ {
dev_warn(&rhdev->dev, "root hub lost power or was reset\n"); dev_notice(&rhdev->dev, "root hub lost power or was reset\n");
rhdev->reset_resume = 1; rhdev->reset_resume = 1;
} }
EXPORT_SYMBOL_GPL(usb_root_hub_lost_power); EXPORT_SYMBOL_GPL(usb_root_hub_lost_power);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment