1. 05 2月, 2011 4 次提交
    • A
      USB host: Move AMD PLL quirk to pci-quirks.c · b7d5b439
      Andiry Xu 提交于
      This patch moves the AMD PLL quirk code in OHCI/EHCI driver to pci-quirks.c,
      and exports the functions to be used by xHCI driver later.
      
      AMD PLL quirk disable the optional PM feature inside specific
      SB700/SB800/Hudson-2/3 platforms under the following conditions:
      
      1. If an isochronous device is connected to OHCI/EHCI/xHCI port and is active;
      2. Optional PM feature that powers down the internal Bus PLL when the link is
         in low power state is enabled.
      
      Without AMD PLL quirk, USB isochronous stream may stutter or have breaks
      occasionally, which greatly impair the performance of audio/video streams.
      
      Currently AMD PLL quirk is implemented in OHCI and EHCI driver, and will be
      added to xHCI driver too. They are doing similar things actually, so move
      the quirk code to pci-quirks.c, which has several advantages:
      
      1. Remove duplicate defines and functions in OHCI/EHCI (and xHCI) driver and
         make them cleaner;
      2. AMD chipset information will be probed only once and then stored.
         Currently they're probed during every OHCI/EHCI initialization, move
         the detect code to pci-quirks.c saves the repeat detect cost;
      3. Build up synchronization among OHCI/EHCI/xHCI driver. In current
         code, every host controller enable/disable PLL only according to
         its own status, and may enable PLL while there is still isoc transfer on
         other HCs. Move the quirk to pci-quirks.c prevents this issue.
      Signed-off-by: NAndiry Xu <andiry.xu@amd.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Alex He <alex.he@amd.com>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b7d5b439
    • F
      usb: gadget/fsl_mxc_udc: Detect the CPU type in run-time · a51ea8cc
      Fabio Estevam 提交于
      Make sure we are running on a MX35 processor.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a51ea8cc
    • J
      USB: Gadget: Initialize wMaxPacketSize if not already set · 553fbcde
      Jassi Brar 提交于
      Currently, for ISO and INT, a protocol driver must chose the value for
      wMaxPacketSize arbitrarily. The value may be too low, resulting in lesser
      than efficient operation or high enough to not work with all UDC drivers.
      
      Take un-initialized wMaxPacketSize as a hint to provide maximum
      possible packetsize for the selected endpoint. The protocol may
      then choose a value not bigger than that.
      Signed-off-by: NJassi Brar <jassi.brar@samsung.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      553fbcde
    • V
      USB: serial: mct_u232: added _ioctl, _msr_to_icount and _get_icount functions · 7af75af2
      Vadim Tsozik 提交于
      Added mct_u232_ioctl (implements TIOCMIWAIT command),
      mct_u232_get_icount (implements TIOCGICOUNT command) and
      mct_u232_msr_to_icount functions. MCT U232 P9 is one of a few usb to
      serail adapters which converts USB +/-5v voltage levels to COM +/-15
      voltages. So it can also power COM interfaced devices. This makes it
      very usable for legacy COM interfaced data-acquisition hardware. I
      tested new implementation with AWARE Electronics RM-60 radiation meter,
      which sends pulse via RNG COM line whenever new particle is registered.
      Signed-off-by: NVadim Tsozik <tsozik@yahoo.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7af75af2
  2. 23 1月, 2011 9 次提交
  3. 21 1月, 2011 11 次提交
  4. 20 1月, 2011 3 次提交
  5. 19 1月, 2011 13 次提交