forked from Minki/linux
staging: ozwpan: Reset port configuration number.
Make sure that we reset port configuration no. when PD departs. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dbd37ee591
commit
d772983d2a
@ -715,6 +715,7 @@ void oz_hcd_pd_departed(void *hport)
|
||||
hpd = port->hpd;
|
||||
port->hpd = NULL;
|
||||
port->bus_addr = 0xff;
|
||||
port->config_num = 0;
|
||||
port->flags &= ~(OZ_PORT_F_PRESENT | OZ_PORT_F_DYING);
|
||||
port->flags |= OZ_PORT_F_CHANGED;
|
||||
port->status &= ~USB_PORT_STAT_CONNECTION;
|
||||
|
Loading…
Reference in New Issue
Block a user