mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
ef15e5490e
commit
ce9d6fbcbf
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user