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

usb: renesas_usbhs: remove controlling PWEN/EXTLP support

Controlling PWMEN/EXTLP (named as "has_otg") was supported in v3.2,
but the last user (kzm9g) was removed by the commit 30f8925a57d8ad49
("ARM: shmobile: Remove legacy board code for KZM-A9-GT"). So, this
patch remove 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
e60e9823 32a6cfdf

-5
-4
drivers/usb/renesas_usbhs/common.c
··· 95 95 { 96 96 u16 mask = DCFM | DRPD | DPRPU | HSE | USBE; 97 97 u16 val = DCFM | DRPD | HSE | USBE; 98 - int has_otg = usbhs_get_dparam(priv, has_otg); 99 - 100 - if (has_otg) 101 - usbhs_bset(priv, DVSTCTR, (EXTLP | PWEN), (EXTLP | PWEN)); 102 98 103 99 /* 104 100 * if enable
-1
include/linux/usb/renesas_usbhs.h
··· 186 186 /* 187 187 * option: 188 188 */ 189 - u32 has_otg:1; /* for controlling PWEN/EXTLP */ 190 189 u32 has_usb_dmac:1; /* for USB-DMAC */ 191 190 u32 runtime_pwctrl:1; 192 191 u32 has_cnen:1;