projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7a325
)
USB: ehci-fsl: use dev_warn() instead of printk()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 10 Dec 2013 12:17:54 +0000
(21:17 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:32:41 +0000
(16:32 -0800)
Use dev_warn() instead of printk() to provide a better message
to userspace.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-fsl.c
b/drivers/usb/host/ehci-fsl.c
index 854a68fa59a6dfc1f237be0b6fc2816ad808399d..7cd23b6cff6a3bc47ba0567169d4534e582ccf8e 100644
(file)
--- a/
drivers/usb/host/ehci-fsl.c
+++ b/
drivers/usb/host/ehci-fsl.c
@@
-268,7
+268,7
@@
static int ehci_fsl_setup_phy(struct usb_hcd *hcd,
if (!(spin_event_timeout(in_be32(non_ehci + FSL_SOC_USB_CTRL) &
PHY_CLK_VALID, FSL_USB_PHY_CLK_TIMEOUT, 0) ||
in_be32(non_ehci + FSL_SOC_USB_PRICTRL))) {
-
printk(KERN_WARNING "fsl-ehci:
USB PHY clock invalid\n");
+
dev_warn(hcd->self.controller, "
USB PHY clock invalid\n");
return -EINVAL;
}
}