RE: [PATCH] usb: gadget: fix wrong endpoint desc

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

 



Hi,

EJ Hsu <ejh@xxxxxxxxxx> writes:
> Felipe Balb writes:
>>EJ Hsu <ejh@xxxxxxxxxx> writes:
>>> Gadget driver should always use config_ep_by_speed() to initialize 
>>> usb_ep struct according to usb device's operating speed. Otherwise, 
>>> usb_ep struct may be wrong if usb devcie's operating speed is changed.
>>
>>your commit log doesn't match the patch body. What gives?
>
> The key point in this patch is that we want to make sure the desc pointer in
> usb_ep struct will be set to NULL when gadget is disconnected. This will force
> it to call config_ep_by_speed() to correctly initialize usb_ep struct based on 
> the new operating speed when gadget is re-connected later.

this would be a commit log that matches the implementation ;-)

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux