mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
USB: do not call disconnect callback func in dwc_otg_hcd_enable
This commit is contained in:
parent
089bf56384
commit
46fa5a365f
|
|
@ -656,11 +656,11 @@ static void dwc_otg_hcd_enable(struct work_struct *work)
|
|||
goto out;
|
||||
}
|
||||
DWC_PRINT("%s, disable host controller\n", __func__);
|
||||
#if 1
|
||||
#if 0
|
||||
if (_core_if->hcd_cb && _core_if->hcd_cb->disconnect) {
|
||||
_core_if->hcd_cb->disconnect( _core_if->hcd_cb->p );
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
dwc_otg_disable_host_interrupts( _core_if );
|
||||
//if (_core_if->hcd_cb && _core_if->hcd_cb->stop) {
|
||||
// _core_if->hcd_cb->stop( _core_if->hcd_cb->p );
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user