| 36b73109 | 20-Sep-2014 |
Hans de Goede <hdegoede@redhat.com> |
usb: ehci: Make periodic_schedules a per controller variable
Periodic schedules tracks how many int_queue-s are active, and decides whether or not to en/disable the periodic schedule based on this.
usb: ehci: Make periodic_schedules a per controller variable
Periodic schedules tracks how many int_queue-s are active, and decides whether or not to en/disable the periodic schedule based on this. This is clearly a per controller thing.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
show more ...
|
| 415548d8 | 20-Sep-2014 |
Hans de Goede <hdegoede@redhat.com> |
usb: ehci: poll_int_queue check real qtd, not the overlay
When we first start an int queue, the qh's overlay area is all zeros. This gets filled by the hc with the actual qtd values as soon as it ad
usb: ehci: poll_int_queue check real qtd, not the overlay
When we first start an int queue, the qh's overlay area is all zeros. This gets filled by the hc with the actual qtd values as soon as it advances the queue, but we may call poll_int_queue before then, in which case we would think the transfer has completed as the hc has not yet copied the qt_token to the overlay, so the active flag is not set.
This fixes this by checking the actual qtd token, rather then the overlay. This also fixes a (theoretical) race where we see the completion in the overlay and free and re-use the qtd before the hc has completed writing back the overlay to the actual qtd.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
show more ...
|
| 97b2043d | 06-Aug-2014 |
Bo Shen <voice.shen@atmel.com> |
USB: ehci-atmel: use pcr to enable or disable clock
If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock.
Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off
USB: ehci-atmel: use pcr to enable or disable clock
If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock.
Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
show more ...
|