Re: [PATCH] drivers/usb/gadget: beautify code, delete unused code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2013年03月11日 18:17, Chen Gang 写道:
> 于 2013年03月04日 22:35, Felipe Balbi 写道:
>> since stop_activity() also gets called from RESET interrupt, and in that
>> case we need to call driver->disconnect(). Can you make a simple test
>> that would take current code and issue a device reset to see if that
>> would break, then apply my suggestion above and run the same test again?
> 
>   after reference the commit: d93e2600d80fc41ccf339b4a2843a3007d479907
>   it seems udc_start and udc_stop will have effect,
>   so not need call driver->disconnect()
> 
>   is it correct ?
> 
>   thanks.
> 

  another reference commit: 6166c24669678662547bb4e5dbd6a810268b8b7b
  also seems udc_start and udc_stop will have effect.


-- 
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux