projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef15e54
)
usb: gadget: ci13xxx: print basic device info when probing
author
Alexander Shishkin
<
[email protected]
>
Fri, 11 May 2012 14:25:44 +0000
(17:25 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 11 May 2012 23:43:21 +0000
(16:43 -0700)
Report basic information about capabilities and register addresses on
probe.
Signed-off-by: Alexander Shishkin <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/gadget/ci13xxx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/ci13xxx_udc.c
b/drivers/usb/gadget/ci13xxx_udc.c
index 6d2d65405ced7ed965427ed23cf9cf07cf2a3e13..819636a19186e592725205c8521cd0df5b0d143b 100644
(file)
--- a/
drivers/usb/gadget/ci13xxx_udc.c
+++ b/
drivers/usb/gadget/ci13xxx_udc.c
@@
-313,6
+313,9
@@
static int hw_device_init(struct ci13xxx *udc, void __iomem *base,
if (udc->hw_ep_max == 0 || udc->hw_ep_max > ENDPT_MAX)
return -ENODEV;
+ dev_dbg(udc->dev, "ChipIdea UDC found, lpm: %d; cap: %p op: %p\n",
+ udc->hw_bank.lpm, udc->hw_bank.cap, udc->hw_bank.op);
+
/* setup lock mode ? */
/* ENDPTSETUPSTAT is '0' by default */