Skip to content

Commit

Permalink
usb: dwc3: st: remove two unnecessary messages
Browse files Browse the repository at this point in the history
the mode of operation is exposed through debugfs
at all times. Because of that, we're removing
the unnecessary messages.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Jul 29, 2015
1 parent 2babd0d commit e746b06
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/usb/dwc3/dwc3-st.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ static int st_dwc3_drd_init(struct st_dwc3 *dwc3_data)
| USB3_SEL_FORCE_DMPULLDOWN2 | USB3_FORCE_DMPULLDOWN2);

val |= USB3_DEVICE_NOT_HOST;

dev_dbg(dwc3_data->dev, "Configuring as Device\n");
break;

case USB_DR_MODE_HOST:
Expand All @@ -154,8 +152,6 @@ static int st_dwc3_drd_init(struct st_dwc3 *dwc3_data)
*/

val |= USB3_DELAY_VBUSVALID;

dev_dbg(dwc3_data->dev, "Configuring as Host\n");
break;

default:
Expand Down

0 comments on commit e746b06

Please sign in to comment.