Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yoshihiro Shimoda and committed by
Greg Kroah-Hartman
32a6cfdf ef513be0

+1 -6
+1 -5
drivers/usb/renesas_usbhs/fifo.c
··· 12 12 #include "pipe.h" 13 13 14 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 16 #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */ 18 17 ··· 324 325 } 325 326 326 327 /* "base" will be used below */ 327 - if (usbhs_get_dparam(priv, has_sudmac) && !usbhsf_is_cfifo(priv, fifo)) 328 - usbhs_write(priv, fifo->sel, base); 329 - else 330 - usbhs_write(priv, fifo->sel, base | MBW_32); 328 + usbhs_write(priv, fifo->sel, base | MBW_32); 331 329 332 330 /* check ISEL and CURPIPE value */ 333 331 while (timeout--) {
-1
include/linux/usb/renesas_usbhs.h
··· 187 187 * option: 188 188 */ 189 189 u32 has_otg:1; /* for controlling PWEN/EXTLP */ 190 - u32 has_sudmac:1; /* for SUDMAC */ 191 190 u32 has_usb_dmac:1; /* for USB-DMAC */ 192 191 u32 runtime_pwctrl:1; 193 192 u32 has_cnen:1;