usb: gadget: renesas_usbhs: remove usbhs_sys_usb_ctrl()
usbhs_sys_usb_ctrl() can collect into usbhs_sys_host/function_ctrl(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:

committed by
Felipe Balbi

parent
2288e10993
commit
3244a7b43f
@@ -682,7 +682,6 @@ static int usbhsg_try_start(struct usbhs_priv *priv, u32 status)
|
||||
* - usb module
|
||||
*/
|
||||
usbhs_sys_function_ctrl(priv, 1);
|
||||
usbhs_sys_usb_ctrl(priv, 1);
|
||||
|
||||
/*
|
||||
* enable irq callback
|
||||
@@ -731,7 +730,6 @@ static int usbhsg_try_stop(struct usbhs_priv *priv, u32 status)
|
||||
|
||||
/* disable sys */
|
||||
usbhs_sys_function_ctrl(priv, 0);
|
||||
usbhs_sys_usb_ctrl(priv, 0);
|
||||
|
||||
usbhsg_pipe_disable(dcp);
|
||||
|
||||
|
Reference in New Issue
Block a user