USB: ehci-pci: USB host controller support for Intel Quark X1000
authorBryan O'Donoghue <bryan.odonoghue@intel.com>
Wed, 2 Jul 2014 08:58:18 +0000 (01:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:16:07 +0000 (16:16 -0700)
commit6e693739e9b603b3ca9ce0d4f4178f0633458465
tree7b2337a073f7484a7f017c4d499ef6aed3935048
parent4428524d8d01afae18844e73f330d2e8431f312e
USB: ehci-pci: USB host controller support for Intel Quark X1000

The EHCI packet buffer in/out threshold is programmable for Intel Quark X1000
USB host controller, and the default value is 0x20 dwords. The in/out threshold
can be programmed to 0x80 dwords (512 Bytes) to maximize the perfomrance,
but only when isochronous/interrupt transactions are not initiated by the USB
host controller. This patch is to reconfigure the packet buffer in/out
threshold as maximal as possible to maximize the performance, and 0x7F dwords
(508 Bytes) should be used because the USB host controller initiates
isochronous/interrupt transactions.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@intel.com>
Signed-off-by: Alvin (Weike) Chen <alvin.chen@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-pci.c