1. 02 5月, 2012 4 次提交
    • R
      USB: Add driver for NXP ISP1301 USB transceiver · 8b7c3b68
      Roland Stigge 提交于
      This new driver registers the NXP ISP1301 chip via the I2C subsystem.  The chip
      is the USB transceiver shared by ohci-nxp, lpc32xx_udc (gadget) and
      isp1301_omap.
      
      ISP1301 is a very low-level driver that primarily separates out the I2C client
      registration of the ISP1301 chip (including instantiation via DT), used by
      other drivers, and declares the chip's registers. It's only a helper driver for
      some OHCI and USB device drivers.  The driver can be considered as a register
      set extension of ohci-nxp, lpc32xx-udc and isp1301_omap, which in turn know
      best what to do with the low level functionality (individual ISP1301 registers
      and timing, see the different initialization strategies in those drivers).
      Those drivers previously internally duplicated ISP1301 register definitions
      which is solved by this new isp1301 driver. The ISP1301 registers exposed via
      isp1301.h can be accessed by other drivers using it with standard i2c_smbus_*()
      accesses.
      
      Following patches let the respective USB host and gadget drivers use this
      driver, instead of duplicating ISP1301 handling.
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8b7c3b68
    • R
      ohci-nxp: Device tree support · 2265efea
      Roland Stigge 提交于
      This patch adds device tree support to ohci-nxp.c
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2265efea
    • R
      ohci-nxp: Driver cleanup · a6a99cf0
      Roland Stigge 提交于
      Cleanup for ohci-nxp.c:
      
      * Cleanup of resource handling (mem and irq), use devm_request_and_ioremap()
      * Use DMA_BIT_MASK()
      * Don't remove __devinit
      * Removed obsolete gpio.h include
      * More consistent bit access symbols
      * Removed unused extern declaration ocpi_enable()
      * Added error handling on i2c_get_adapter()
      * Whitespace cleanup
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a6a99cf0
    • O
      usbhid: prevent deadlock during timeout · 8815bb09
      Oliver Neukum 提交于
      On some HCDs usb_unlink_urb() can directly call the
      completion handler. That limits the spinlocks that can
      be taken in the handler to locks not held while calling
      usb_unlink_urb()
      To prevent a race with resubmission, this patch exposes
      usbcore's infrastructure for blocking submission, uses it
      and so drops the lock without causing a race in usbhid.
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Acked-by: NJiri Kosina <jkosina@suse.cz>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8815bb09
  2. 30 4月, 2012 8 次提交
  3. 28 4月, 2012 14 次提交
  4. 26 4月, 2012 8 次提交
  5. 24 4月, 2012 4 次提交
  6. 21 4月, 2012 2 次提交