diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 10:25:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 19:43:21 -0400 |
commit | ce9d6fbcbf4dcc481bb52a174c2e0dd22199f066 (patch) | |
tree | 03c2bb12aeb0a82cf4e3319ab442c51f7c73923c | |
parent | ef15e5490edc7edf808d3477ab32e0e320792f65 (diff) |
usb: gadget: ci13xxx: print basic device info when probing
Report basic information about capabilities and register addresses on
probe.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/gadget/ci13xxx_udc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ci13xxx_udc.c b/drivers/usb/gadget/ci13xxx_udc.c index 6d2d65405ced..819636a19186 100644 --- 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, | |||
313 | if (udc->hw_ep_max == 0 || udc->hw_ep_max > ENDPT_MAX) | 313 | if (udc->hw_ep_max == 0 || udc->hw_ep_max > ENDPT_MAX) |
314 | return -ENODEV; | 314 | return -ENODEV; |
315 | 315 | ||
316 | dev_dbg(udc->dev, "ChipIdea UDC found, lpm: %d; cap: %p op: %p\n", | ||
317 | udc->hw_bank.lpm, udc->hw_bank.cap, udc->hw_bank.op); | ||
318 | |||
316 | /* setup lock mode ? */ | 319 | /* setup lock mode ? */ |
317 | 320 | ||
318 | /* ENDPTSETUPSTAT is '0' by default */ | 321 | /* ENDPTSETUPSTAT is '0' by default */ |