diff options
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | 2015-01-09 07:39:00 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 16:34:13 -0500 |
commit | 1a0ed863eef7ea6af63afd60ca4fa16edf6b4244 (patch) | |
tree | 1621d0d202b6e69a8cec3db271ce9631156393c1 /drivers/usb/dwc2 | |
parent | f71b5e2533debe564f21c068aaabc42c6293d18b (diff) |
usb: dwc2: gadget: dont warn if endpoint is not enabled
The warning is probably good but it has false positives in both dma and non-dma
cases. So its not very helpful in either.
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r-- | drivers/usb/dwc2/gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 992a2eb0dd81..6d76e28a69da 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c | |||
@@ -678,7 +678,7 @@ static void s3c_hsotg_start_req(struct dwc2_hsotg *hsotg, | |||
678 | 678 | ||
679 | /* check ep is enabled */ | 679 | /* check ep is enabled */ |
680 | if (!(readl(hsotg->regs + epctrl_reg) & DXEPCTL_EPENA)) | 680 | if (!(readl(hsotg->regs + epctrl_reg) & DXEPCTL_EPENA)) |
681 | dev_warn(hsotg->dev, | 681 | dev_dbg(hsotg->dev, |
682 | "ep%d: failed to become enabled (DXEPCTL=0x%08x)?\n", | 682 | "ep%d: failed to become enabled (DXEPCTL=0x%08x)?\n", |
683 | index, readl(hsotg->regs + epctrl_reg)); | 683 | index, readl(hsotg->regs + epctrl_reg)); |
684 | 684 | ||