]> nv-tegra.nvidia Code Review - linux-4.9.git/commitdiff
usb: Make usb_suspend_both print
authorNat Pettipaw <npettipaw@nvidia.com>
Wed, 10 Oct 2018 22:43:49 +0000 (15:43 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 25 Oct 2018 10:53:51 +0000 (03:53 -0700)
We want to see prints from USB suspending to ensure whether
or not drives are actually suspending.

Bug 2098768

Change-Id: Iefa3b675f3c6887c462795c6c472994796d8d3ae
Reviewed-on: https://git-master.nvidia.com/r/1923990
(cherry picked from commit a79781fe847b20625d2ce6affb4b5870b63e0485)
Reviewed-on: https://git-master.nvidia.com/r/1933808
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nat Pettipaw <npettipaw@nvidia.com>
Tested-by: Nat Pettipaw <npettipaw@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/usb/core/driver.c

index 8173520c3f805cb4f043f6d4347aa83ad3b55d56..3a4d7596ffe04ab124e6e6c6c7728be924ab1f8b 100644 (file)
@@ -1371,7 +1371,7 @@ static int usb_suspend_both(struct usb_device *udev, pm_message_t msg)
        }
 
  done:
-       dev_vdbg(&udev->dev, "%s: status %d\n", __func__, status);
+       dev_info(&udev->dev, "%s: status %d\n", __func__, status);
        return status;
 }