History

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.

Yoshihiro Shimoda committed 7 years ago

Commit e60e9821 parent 32a6cfd2 files · +0 −5Browse files

Unified · Split

2 files
  1. drivers/usb/renesas_usbhs/common.c +0 −4
  2. include/linux/usb/renesas_usbhs.h +0 −1
drivers/usb/renesas_usbhs/common.c+0−4
@@ -95,10 +95,6 @@ void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable) · 94 unmodified lines
9595 {
9696 u16 mask = DCFM | DRPD | DPRPU | HSE | USBE;
9797 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));
10298
10399 /*
104100 * if enable
include/linux/usb/renesas_usbhs.h+0−1
@@ -186,7 +186,6 @@ struct renesas_usbhs_driver_param { · 185 unmodified lines
186186 /*
187187 * option:
188188 */
189− u32 has_otg:1; /* for controlling PWEN/EXTLP */
190189 u32 has_usb_dmac:1; /* for USB-DMAC */
191190 u32 runtime_pwctrl:1;
192191 u32 has_cnen:1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t