Commit f51cd2b7 authored by Madhusudhanan Ravindran's avatar Madhusudhanan Ravindran Committed by Greg Kroah-Hartman

staging: emxx_udc: remove commented code

removed the commented INFO lines.
Signed-off-by: default avatarMadhusudhanan Ravindran <mravindr@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7eea766a
...@@ -2249,8 +2249,6 @@ static int _nbu2ss_pullup(struct nbu2ss_udc *udc, int is_on) ...@@ -2249,8 +2249,6 @@ static int _nbu2ss_pullup(struct nbu2ss_udc *udc, int is_on)
if (is_on) { if (is_on) {
/* D+ Pullup */ /* D+ Pullup */
/* INFO(" --- D+ Pullup\n"); */
if (udc->driver) { if (udc->driver) {
reg_dt = (_nbu2ss_readl(&udc->p_regs->USB_CONTROL) reg_dt = (_nbu2ss_readl(&udc->p_regs->USB_CONTROL)
| PUE2) & ~(u32)CONNECTB; | PUE2) & ~(u32)CONNECTB;
...@@ -2260,8 +2258,6 @@ static int _nbu2ss_pullup(struct nbu2ss_udc *udc, int is_on) ...@@ -2260,8 +2258,6 @@ static int _nbu2ss_pullup(struct nbu2ss_udc *udc, int is_on)
} else { } else {
/* D+ Pulldown */ /* D+ Pulldown */
/* INFO(" --- D+ Pulldown\n"); */
reg_dt = (_nbu2ss_readl(&udc->p_regs->USB_CONTROL) | CONNECTB) reg_dt = (_nbu2ss_readl(&udc->p_regs->USB_CONTROL) | CONNECTB)
& ~(u32)PUE2; & ~(u32)PUE2;
...@@ -2731,8 +2727,6 @@ static int nbu2ss_ep_queue( ...@@ -2731,8 +2727,6 @@ static int nbu2ss_ep_queue(
ep = container_of(_ep, struct nbu2ss_ep, ep); ep = container_of(_ep, struct nbu2ss_ep, ep);
udc = ep->udc; udc = ep->udc;
/* INFO("=== %s(ep%d), zero=%d\n", __func__, ep->epnum, _req->zero); */
if (udc->vbus_active == 0) { if (udc->vbus_active == 0) {
dev_info(udc->dev, "Can't ep_queue (VBUS OFF)\n"); dev_info(udc->dev, "Can't ep_queue (VBUS OFF)\n");
return -ESHUTDOWN; return -ESHUTDOWN;
...@@ -2808,8 +2802,6 @@ static int nbu2ss_ep_dequeue( ...@@ -2808,8 +2802,6 @@ static int nbu2ss_ep_dequeue(
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
unsigned long flags; unsigned long flags;
/*INFO("=== %s()\n", __func__);*/
/* catch various bogus parameters */ /* catch various bogus parameters */
if ((_ep == NULL) || (_req == NULL)) { if ((_ep == NULL) || (_req == NULL)) {
/* pr_err("%s, bad param(1)\n", __func__); */ /* pr_err("%s, bad param(1)\n", __func__); */
...@@ -2855,8 +2847,6 @@ static int nbu2ss_ep_set_halt(struct usb_ep *_ep, int value) ...@@ -2855,8 +2847,6 @@ static int nbu2ss_ep_set_halt(struct usb_ep *_ep, int value)
struct nbu2ss_ep *ep; struct nbu2ss_ep *ep;
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
/* INFO("=== %s()\n", __func__); */
if (!_ep) { if (!_ep) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -2909,8 +2899,6 @@ static int nbu2ss_ep_fifo_status(struct usb_ep *_ep) ...@@ -2909,8 +2899,6 @@ static int nbu2ss_ep_fifo_status(struct usb_ep *_ep)
unsigned long flags; unsigned long flags;
struct fc_regs *preg; struct fc_regs *preg;
/* INFO("=== %s()\n", __func__); */
if (!_ep) { if (!_ep) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -2957,8 +2945,6 @@ static void nbu2ss_ep_fifo_flush(struct usb_ep *_ep) ...@@ -2957,8 +2945,6 @@ static void nbu2ss_ep_fifo_flush(struct usb_ep *_ep)
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
unsigned long flags; unsigned long flags;
/* INFO("=== %s()\n", __func__); */
if (!_ep) { if (!_ep) {
pr_err("udc: %s, bad param\n", __func__); pr_err("udc: %s, bad param\n", __func__);
return; return;
...@@ -3013,8 +2999,6 @@ static int nbu2ss_gad_get_frame(struct usb_gadget *pgadget) ...@@ -3013,8 +2999,6 @@ static int nbu2ss_gad_get_frame(struct usb_gadget *pgadget)
u32 data; u32 data;
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
/* INFO("=== %s()\n", __func__); */
if (pgadget == NULL) { if (pgadget == NULL) {
pr_err("udc: %s, bad param\n", __func__); pr_err("udc: %s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -3043,8 +3027,6 @@ static int nbu2ss_gad_wakeup(struct usb_gadget *pgadget) ...@@ -3043,8 +3027,6 @@ static int nbu2ss_gad_wakeup(struct usb_gadget *pgadget)
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
/* INFO("=== %s()\n", __func__); */
if (pgadget == NULL) { if (pgadget == NULL) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -3083,8 +3065,6 @@ static int nbu2ss_gad_set_selfpowered(struct usb_gadget *pgadget, ...@@ -3083,8 +3065,6 @@ static int nbu2ss_gad_set_selfpowered(struct usb_gadget *pgadget,
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
unsigned long flags; unsigned long flags;
/* INFO("=== %s()\n", __func__); */
if (pgadget == NULL) { if (pgadget == NULL) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -3102,7 +3082,6 @@ static int nbu2ss_gad_set_selfpowered(struct usb_gadget *pgadget, ...@@ -3102,7 +3082,6 @@ static int nbu2ss_gad_set_selfpowered(struct usb_gadget *pgadget,
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
static int nbu2ss_gad_vbus_session(struct usb_gadget *pgadget, int is_active) static int nbu2ss_gad_vbus_session(struct usb_gadget *pgadget, int is_active)
{ {
/* INFO("=== %s()\n", __func__); */
return 0; return 0;
} }
...@@ -3112,8 +3091,6 @@ static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned mA) ...@@ -3112,8 +3091,6 @@ static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned mA)
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
unsigned long flags; unsigned long flags;
/* INFO("=== %s()\n", __func__); */
if (pgadget == NULL) { if (pgadget == NULL) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -3134,8 +3111,6 @@ static int nbu2ss_gad_pullup(struct usb_gadget *pgadget, int is_on) ...@@ -3134,8 +3111,6 @@ static int nbu2ss_gad_pullup(struct usb_gadget *pgadget, int is_on)
struct nbu2ss_udc *udc; struct nbu2ss_udc *udc;
unsigned long flags; unsigned long flags;
/* INFO("=== %s()\n", __func__); */
if (pgadget == NULL) { if (pgadget == NULL) {
pr_err("%s, bad param\n", __func__); pr_err("%s, bad param\n", __func__);
return -EINVAL; return -EINVAL;
...@@ -3164,7 +3139,6 @@ static int nbu2ss_gad_ioctl( ...@@ -3164,7 +3139,6 @@ static int nbu2ss_gad_ioctl(
unsigned code, unsigned code,
unsigned long param) unsigned long param)
{ {
/* INFO("=== %s()\n", __func__); */
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment