History

usb: renesas_usbhs: remove sudmac support

SUDMAC feature was supported in v3.10, but was never used by any platform. So, this patch removes it.

Yoshihiro Shimoda committed 7 years ago

Commit 32a6cfd1 parent ef513be2 files · +1 −6Browse files

Unified · Split

2 files
  1. drivers/usb/renesas_usbhs/fifo.c +1 −5
  2. include/linux/usb/renesas_usbhs.h +0 −1
drivers/usb/renesas_usbhs/fifo.c+1−5
@@ -12,7 +12,6 @@ · 11 unmodified lines
1212 #include "pipe.h"
1313
1414 #define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo))
15−#define usbhsf_is_cfifo(p, f) (usbhsf_get_cfifo(p) == f)
1615
1716 #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */
1817
@@ -325,10 +324,7 @@ static int usbhsf_fifo_select(struct usbhs_pipe *pipe, · 306 unmodified lines
325324 }
326325
327326 /* "base" will be used below */
328− if (usbhs_get_dparam(priv, has_sudmac) && !usbhsf_is_cfifo(priv, fifo))
329− usbhs_write(priv, fifo->sel, base);
330− else
331− usbhs_write(priv, fifo->sel, base | MBW_32);
327+ usbhs_write(priv, fifo->sel, base | MBW_32);
332328
333329 /* check ISEL and CURPIPE value */
334330 while (timeout--) {
include/linux/usb/renesas_usbhs.h+0−1
@@ -187,7 +187,6 @@ struct renesas_usbhs_driver_param { · 186 unmodified lines
187187 * option:
188188 */
189189 u32 has_otg:1; /* for controlling PWEN/EXTLP */
190− u32 has_sudmac:1; /* for SUDMAC */
191190 u32 has_usb_dmac:1; /* for USB-DMAC */
192191 u32 runtime_pwctrl:1;
193192 u32 has_cnen:1;