Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-08-01 Thread Stuart_Hayes
Greg KH wrote: On Tue, Jul 31, 2007 at 04:00:15PM -0700, Pete Zaitcev wrote: On Tue, 31 Jul 2007 17:00:04 -0500, [EMAIL PROTECTED] wrote: + list_for_each_safe (entry, tmp, qh-qtd_list) { + qtd = list_entry (entry, struct ehci_qtd, qtd_list); + if (cpu_to_le32

[linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Stuart_Hayes
This patch fixes a bug with the cpu frequency change notifier and nVidia EHCI controllers. The nVidia controllers write the transfer overlay back to the qtd when they see the inactivate bit set in the qh, which clears the active bit in qtd-hw_token. When the qh was reactivated, the active bit in

Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Pete Zaitcev
On Tue, 31 Jul 2007 17:00:04 -0500, [EMAIL PROTECTED] wrote: + list_for_each_safe (entry, tmp, qh-qtd_list) { + qtd = list_entry (entry, struct ehci_qtd, qtd_list); + if (cpu_to_le32 (qtd-qtd_dma) == qh-hw_current) + return qtd; + } Why

Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 04:00:15PM -0700, Pete Zaitcev wrote: On Tue, 31 Jul 2007 17:00:04 -0500, [EMAIL PROTECTED] wrote: + list_for_each_safe (entry, tmp, qh-qtd_list) { + qtd = list_entry (entry, struct ehci_qtd, qtd_list); + if (cpu_to_le32 (qtd-qtd_dma) ==