Skip to content

Commit

Permalink
usb: gadget: ci13xxx: print basic device info when probing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Shishkin authored and Greg Kroah-Hartman committed May 11, 2012
1 parent ef15e54 commit ce9d6fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/gadget/ci13xxx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ce9d6fb

Please sign in to comment.