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
12#include "pipe.h"12#include "pipe.h"
13 13
14#define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo))14#define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo))
15#define usbhsf_is_cfifo(p, f) (usbhsf_get_cfifo(p) == f)
16 15
17#define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */16#define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */
18 17
@@ -325,10 +324,7 @@ static int usbhsf_fifo_select(struct usbhs_pipe *pipe, · 306 unmodified lines
325 }324 }
326 325
327 /* "base" will be used below */326 /* "base" will be used below */
328 if (usbhs_get_dparam(priv, has_sudmac) && !usbhsf_is_cfifo(priv, fifo))327 usbhs_write(priv, fifo->sel, base | MBW_32);
329 usbhs_write(priv, fifo->sel, base);
330 else
331 usbhs_write(priv, fifo->sel, base | MBW_32);
332 328
333 /* check ISEL and CURPIPE value */329 /* check ISEL and CURPIPE value */
334 while (timeout--) {330 while (timeout--) {
include/linux/usb/renesas_usbhs.h+0−1
@@ -187,7 +187,6 @@ struct renesas_usbhs_driver_param { · 186 unmodified lines
187 * option:187 * option:
188 */188 */
189 u32 has_otg:1; /* for controlling PWEN/EXTLP */189 u32 has_otg:1; /* for controlling PWEN/EXTLP */
190 u32 has_sudmac:1; /* for SUDMAC */
191 u32 has_usb_dmac:1; /* for USB-DMAC */190 u32 has_usb_dmac:1; /* for USB-DMAC */
192 u32 runtime_pwctrl:1;191 u32 runtime_pwctrl:1;
193 u32 has_cnen:1;192 u32 has_cnen:1;