aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pch_udc.c
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya.rohm@gmail.com>2012-01-11 21:27:10 -0500
committerFelipe Balbi <balbi@ti.com>2012-01-24 04:35:38 -0500
commit9645f7d3dab346a9d442dca1688740551b8c55f2 (patch)
tree97a1e25f9a8b35d1ef33ce833b008169620b2beb /drivers/usb/gadget/pch_udc.c
parent833310402c54ad9b676b465fc53ad276b13d36be (diff)
usb: gadget: pch_udc: Add debug message
ISSUE: Adding debugging messages. CAUSE: The debugging messages are added to make sure of that major interrupt events are occurring. Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/pch_udc.c')
-rw-r--r--drivers/usb/gadget/pch_udc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c
index 4da98141e058..82416aae816f 100644
--- a/drivers/usb/gadget/pch_udc.c
+++ b/drivers/usb/gadget/pch_udc.c
@@ -2511,11 +2511,15 @@ static void pch_udc_svc_cfg_interrupt(struct pch_udc_dev *dev)
2511static void pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr) 2511static void pch_udc_dev_isr(struct pch_udc_dev *dev, u32 dev_intr)
2512{ 2512{
2513 /* USB Reset Interrupt */ 2513 /* USB Reset Interrupt */
2514 if (dev_intr & UDC_DEVINT_UR) 2514 if (dev_intr & UDC_DEVINT_UR) {
2515 pch_udc_svc_ur_interrupt(dev); 2515 pch_udc_svc_ur_interrupt(dev);
2516 dev_dbg(&dev->pdev->dev, "USB_RESET\n");
2517 }
2516 /* Enumeration Done Interrupt */ 2518 /* Enumeration Done Interrupt */
2517 if (dev_intr & UDC_DEVINT_ENUM) 2519 if (dev_intr & UDC_DEVINT_ENUM) {
2518 pch_udc_svc_enum_interrupt(dev); 2520 pch_udc_svc_enum_interrupt(dev);
2521 dev_dbg(&dev->pdev->dev, "USB_ENUM\n");
2522 }
2519 /* Set Interface Interrupt */ 2523 /* Set Interface Interrupt */
2520 if (dev_intr & UDC_DEVINT_SI) 2524 if (dev_intr & UDC_DEVINT_SI)
2521 pch_udc_svc_intf_interrupt(dev); 2525 pch_udc_svc_intf_interrupt(dev);