Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: cdns3: change dev_info to dev_dbg for debug message

During device mode initialization, lots of device information
are printed to console, see below. Change them as debug message.

cdns-usb3 5b130000.cdns3: Initialized ep0 support:
cdns-usb3 5b130000.cdns3: Initialized ep1out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep2out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep3out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep4out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep5out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep6out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep7out support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep1in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep2in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep3in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep4in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep5in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep6in support: BULK, INT ISO
cdns-usb3 5b130000.cdns3: Initialized ep7in support: BULK, INT ISO

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200331081005.32752-4-peter.chen@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Chen and committed by
Greg Kroah-Hartman
eed6ed6e 0c7299d6

+3 -3
+2 -2
drivers/usb/cdns3/drd.c
··· 329 329 cdns->otg_v1_regs = NULL; 330 330 cdns->otg_regs = regs; 331 331 writel(1, &cdns->otg_v0_regs->simulate); 332 - dev_info(cdns->dev, "DRD version v0 (%08x)\n", 332 + dev_dbg(cdns->dev, "DRD version v0 (%08x)\n", 333 333 readl(&cdns->otg_v0_regs->version)); 334 334 } else { 335 335 cdns->otg_v0_regs = NULL; ··· 337 337 cdns->otg_regs = (void *)&cdns->otg_v1_regs->cmd; 338 338 cdns->version = CDNS3_CONTROLLER_V1; 339 339 writel(1, &cdns->otg_v1_regs->simulate); 340 - dev_info(cdns->dev, "DRD version v1 (ID: %08x, rev: %08x)\n", 340 + dev_dbg(cdns->dev, "DRD version v1 (ID: %08x, rev: %08x)\n", 341 341 readl(&cdns->otg_v1_regs->did), 342 342 readl(&cdns->otg_v1_regs->rid)); 343 343 }
+1 -1
drivers/usb/cdns3/gadget.c
··· 2965 2965 2966 2966 priv_ep->flags = 0; 2967 2967 2968 - dev_info(priv_dev->dev, "Initialized %s support: %s %s\n", 2968 + dev_dbg(priv_dev->dev, "Initialized %s support: %s %s\n", 2969 2969 priv_ep->name, 2970 2970 priv_ep->endpoint.caps.type_bulk ? "BULK, INT" : "", 2971 2971 priv_ep->endpoint.caps.type_iso ? "ISO" : "");