1. 12 12月, 2009 2 次提交
  2. 04 12月, 2009 1 次提交
  3. 01 12月, 2009 1 次提交
  4. 23 11月, 2009 1 次提交
    • C
      omap1: omap_udc: Add clocking and disable vbus sense for omap7xx · 45f780a0
      Cory Maccarrone 提交于
      The l3_ocpi_ck clock is needed on omap7xx processors for USB.
      Additionally, bit 8 of the SOFT_REQ_REG needs to be enabled for
      the usb_dc_ck on omap7xx, which is a different bit than that
      of the omap16xx-defined clock of the same name.
      
      I added a provision for the usb_dc_ck and l3_ocpi_ck clocks as
      dc_clk and hhc_clk, respectively, for omap7xx CPUs.  Additionally,
      I added a check in machine_without_vbus_sense for all omap7xx
      devices, as presently I know of no omap7xx-based devices that
      have vbus sense, and it made more sense to me to use a cpu check
      here than to spell out each machine one at a time.  Finally, DMA
      is disabled for omap7xx, as it causes problems with these chips.
      
      Cc: linux-usb@vger.kernel.org
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NCory Maccarrone <darkstar6262@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      45f780a0
  5. 31 10月, 2009 1 次提交
    • A
      USB: fsl_udc_core: Fix kernel oops on module removal · 37c4fd8c
      Anton Vorontsov 提交于
      fsl_udc_release() calls dma_free_coherent() with an inappropriate
      device passed to it, and since the device has no dma_ops, the following
      oops pops up:
      
        Kernel BUG at d103ce9c [verbose debug info unavailable]
        Oops: Exception in kernel mode, sig: 5 [#1]
        ...
        NIP [d103ce9c] fsl_udc_release+0x50/0x80 [fsl_usb2_udc]
        LR [d103ce74] fsl_udc_release+0x28/0x80 [fsl_usb2_udc]
        Call Trace:
        [cfbc7dc0] [d103ce74] fsl_udc_release+0x28/0x80 [fsl_usb2_udc]
        [cfbc7dd0] [c01a35c4] device_release+0x2c/0x90
        [cfbc7de0] [c016b480] kobject_cleanup+0x58/0x98
        [cfbc7e00] [c016c52c] kref_put+0x54/0x6c
        [cfbc7e10] [c016b360] kobject_put+0x34/0x64
        [cfbc7e20] [c01a1d0c] put_device+0x1c/0x2c
        [cfbc7e30] [d103dbfc] fsl_udc_remove+0xc0/0x1e4 [fsl_usb2_udc]
        ...
      
      This patch fixes the issue by passing dev->parent, which points to
      a correct device.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Cc: Li Yang <leoli@freescale.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Guennadi Liakhovetski <lg@denx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      37c4fd8c
  6. 21 10月, 2009 2 次提交
    • R
      ARM: Fix lubbock defconfig build · 09963911
      Russell King 提交于
      drivers/built-in.o: In function `pxa25x_udc_probe':
      drivers/usb/gadget/pxa25x_udc.c:2195: undefined reference to `otg_get_transceiver'
      drivers/usb/gadget/pxa25x_udc.c:2300: undefined reference to `otg_put_transceiver'
      
      pxa25x_udc.c unconditionally uses these two functions, so we need to
      ensure that the object providing them is also built.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      09963911
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  7. 15 10月, 2009 1 次提交
  8. 10 10月, 2009 1 次提交
  9. 06 10月, 2009 1 次提交
    • M
      usb: r8a66597-udc unaligned fifo fix · 59c82d12
      Magnus Damm 提交于
      Rework the r8a66597-udc fifo code to avoid unaligned accesses.
      
      Without this patch unaligned exceptions will degrade the
      USB performance. The exceptions come from the fact that
      the usb fifo data buffers may be misaligned.
      
      This patch updates the fifo access code to only use
      insl()/outsl() and insw()/outsw() in the case of properly
      aligned data buffers. The fallback case is that inl()/inw()
      are used for misaligned buffer reads together with outb()
      that is used for misaligned buffer writes.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      59c82d12
  10. 05 10月, 2009 1 次提交
  11. 02 10月, 2009 1 次提交
  12. 24 9月, 2009 1 次提交
  13. 23 9月, 2009 16 次提交
  14. 22 9月, 2009 1 次提交
  15. 02 9月, 2009 1 次提交
  16. 01 9月, 2009 1 次提交
  17. 24 8月, 2009 1 次提交
    • P
      usb: gadget: m66592-udc needs linux/err.h. · 56fd1260
      Paul Mundt 提交于
      In certain configurations linux/err.h is not included through alternate
      means, resulting in:
      
      drivers/usb/gadget/m66592-udc.c:1646: error: implicit declaration of function 'IS_ERR'
      drivers/usb/gadget/m66592-udc.c:1649: error: implicit declaration of function 'PTR_ERR'
      distcc[15083] ERROR: compile drivers/usb/gadget/m66592-udc.c on localhost failed
      make[3]: *** [drivers/usb/gadget/m66592-udc.o] Error 1
      make[2]: *** [drivers/usb/gadget] Error 2
      make[1]: *** [drivers] Error 2
      make: *** [sub-make] Error 2
      
      Caught with an ARM config in -next.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      56fd1260
  18. 21 8月, 2009 1 次提交
  19. 20 8月, 2009 4 次提交
  20. 13 8月, 2009 1 次提交