Commit 3dd49268 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Felipe Balbi

usb: gadget: renesas_usbhs: modify function name of usbhs_set_device_xx()

it was device configuration setting function, not only speed.
This patch modify function name usbhs_set_device_speed() -> usbhs_set_device_config()
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent fc9d5c79
...@@ -219,7 +219,7 @@ static void usbhsc_bus_init(struct usbhs_priv *priv) ...@@ -219,7 +219,7 @@ static void usbhsc_bus_init(struct usbhs_priv *priv)
/* /*
* device configuration * device configuration
*/ */
int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, int usbhs_set_device_config(struct usbhs_priv *priv, int devnum,
u16 upphub, u16 hubport, u16 speed) u16 upphub, u16 hubport, u16 speed)
{ {
struct device *dev = usbhs_priv_to_dev(priv); struct device *dev = usbhs_priv_to_dev(priv);
......
...@@ -306,7 +306,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv); ...@@ -306,7 +306,7 @@ int usbhs_frame_get_num(struct usbhs_priv *priv);
/* /*
* device config * device config
*/ */
int usbhs_set_device_speed(struct usbhs_priv *priv, int devnum, u16 upphub, int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, u16 upphub,
u16 hubport, u16 speed); u16 hubport, u16 speed);
/* /*
......
...@@ -317,7 +317,7 @@ static struct usbhsh_device *usbhsh_device_alloc(struct usbhsh_hpriv *hpriv, ...@@ -317,7 +317,7 @@ static struct usbhsh_device *usbhsh_device_alloc(struct usbhsh_hpriv *hpriv,
udev->usbv = usbv; udev->usbv = usbv;
/* set device config */ /* set device config */
usbhs_set_device_speed(priv, usbhs_set_device_config(priv,
usbhsh_device_number(hpriv, udev), usbhsh_device_number(hpriv, udev),
usbhsh_device_number(hpriv, udev), usbhsh_device_number(hpriv, udev),
0, /* FIXME no parent */ 0, /* FIXME no parent */
...@@ -433,7 +433,7 @@ struct usbhsh_ep *usbhsh_endpoint_alloc(struct usbhsh_hpriv *hpriv, ...@@ -433,7 +433,7 @@ struct usbhsh_ep *usbhsh_endpoint_alloc(struct usbhsh_hpriv *hpriv,
/* /*
* usbhs_pipe_config_update() should be called after * usbhs_pipe_config_update() should be called after
* usbhs_device_config() * usbhs_set_device_config()
* see * see
* DCPMAXP/PIPEMAXP * DCPMAXP/PIPEMAXP
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment