Skip to content

Commit

Permalink
usb:hsotg:samsung: Rename s3c_hsotg_disconnect function
Browse files Browse the repository at this point in the history
The s3c_hsotg_disconnect_irq function has been renamed to
reflect, that it can be used not only during the host
disconnect irq.

The s3c_hsotg_disconnect shall be used as a fall back for
scenario when USB cable is unplugged and plugged to the
device.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Lukasz Majewski authored and Felipe Balbi committed May 4, 2012
1 parent b3546c9 commit 5e89134
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/usb/gadget/s3c-hsotg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2086,14 +2086,14 @@ static void kill_all_requests(struct s3c_hsotg *hsotg,
(_hs)->driver->_entry(&(_hs)->gadget);

/**
* s3c_hsotg_disconnect_irq - disconnect irq service
* s3c_hsotg_disconnect - disconnect service
* @hsotg: The device state.
*
* A disconnect IRQ has been received, meaning that the host has
* lost contact with the bus. Remove all current transactions
* and signal the gadget driver that this has happened.
* The device has been disconnected. Remove all current
* transactions and signal the gadget driver that this
* has happened.
*/
static void s3c_hsotg_disconnect_irq(struct s3c_hsotg *hsotg)
static void s3c_hsotg_disconnect(struct s3c_hsotg *hsotg)
{
unsigned ep;

Expand Down

0 comments on commit 5e89134

Please sign in to comment.