Commit e60e9823 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Greg Kroah-Hartman
Browse files

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 30f8925a
("ARM: shmobile: Remove legacy board code for KZM-A9-GT"). So, this
patch remove it.

Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32a6cfdf
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -95,10 +95,6 @@ void usbhs_sys_host_ctrl(struct usbhs_priv *priv, int enable)
{
{
	u16 mask = DCFM | DRPD | DPRPU | HSE | USBE;
	u16 mask = DCFM | DRPD | DPRPU | HSE | USBE;
	u16 val  = DCFM | DRPD | HSE | USBE;
	u16 val  = DCFM | DRPD | HSE | USBE;
	int has_otg = usbhs_get_dparam(priv, has_otg);

	if (has_otg)
		usbhs_bset(priv, DVSTCTR, (EXTLP | PWEN), (EXTLP | PWEN));


	/*
	/*
	 * if enable
	 * if enable
+0 −1
Original line number Original line Diff line number Diff line
@@ -186,7 +186,6 @@ struct renesas_usbhs_driver_param {
	/*
	/*
	 * option:
	 * option:
	 */
	 */
	u32 has_otg:1; /* for controlling PWEN/EXTLP */
	u32 has_usb_dmac:1; /* for USB-DMAC */
	u32 has_usb_dmac:1; /* for USB-DMAC */
	u32 runtime_pwctrl:1;
	u32 runtime_pwctrl:1;
	u32 has_cnen:1;
	u32 has_cnen:1;