Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 03:45:48 AM, Stephen Warren wrote: > On 12/15/2015 05:42 PM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 12:35:23 AM, Stephen Warren wrote: > >> On 11/13/2015 06:16 PM, Marek Vasut wrote: > >>> On Friday, November 13, 2015 at 09:34:09 PM, Stephen War

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-15 Thread Stephen Warren
On 12/15/2015 05:42 PM, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 12:35:23 AM, Stephen Warren wrote: >> On 11/13/2015 06:16 PM, Marek Vasut wrote: >>> On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-15 Thread Marek Vasut
On Wednesday, December 16, 2015 at 12:35:23 AM, Stephen Warren wrote: > On 11/13/2015 06:16 PM, Marek Vasut wrote: > > On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a > >> GET_RE

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-15 Thread Stephen Warren
On 11/13/2015 06:16 PM, Marek Vasut wrote: On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the keyboard. This matches the techniq

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-16 Thread Hans de Goede
Hi, On 16-11-15 18:16, Stephen Warren wrote: On 11/15/2015 12:40 PM, Hans de Goede wrote: Hi, On 11/13/2015 09:34 PM, Stephen Warren wrote: From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the k

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-16 Thread Stephen Warren
On 11/15/2015 12:40 PM, Hans de Goede wrote: Hi, On 11/13/2015 09:34 PM, Stephen Warren wrote: From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the keyboard. This matches the technique used to pol

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-15 Thread Hans de Goede
Hi, On 11/13/2015 09:34 PM, Stephen Warren wrote: From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the keyboard. This matches the technique used to poll the keyboard state. This is useful since it

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: > From: Stephen Warren > > When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a > GET_REPORT control transfer to retrieve the initial state of the > keyboard. This matches the technique used to poll the keyboard state.

[U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-13 Thread Stephen Warren
From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the keyboard. This matches the technique used to poll the keyboard state. This is useful since it eliminates the remaining use of interrupt transfers f