staging: ozwpan: Add debounce time before unregistering.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Tue, 27 Aug 2013 15:53:42 +0000 (16:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 00:00:00 +0000 (17:00 -0700)
commit0140eb27756899f0d7b2ee0af111839e4006f196
treeb83c000b486a4594200eaa9413bd31cc418e35bc
parentf9f34d57bab010e6f11ec3ebd674b4ff4fc909ee
staging: ozwpan: Add debounce time before unregistering.

Fixes following error caused during unloading driver.

[ 1127.542888] usb 5-1: USB disconnect, device number 2
[ 1127.542909] ozwpan ozwpan: remove, state 1
[ 1127.542933] usb usb5: USB disconnect, device number 1
[ 1127.618634] hub 5-0:1.0: hub_port_status failed (err = -19)
[ 1127.618647] hub_port_connect_change: 45 callbacks suppressed
[ 1127.618657] hub 5-0:1.0: connect-debounce failed, port 1 disabled
[ 1127.618668] hub 5-0:1.0: cannot disable port 1 (err = -19)

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c