1. 01 Dec, 2008 7 commits
    • Anton Vorontsov's avatar
      USB: fsl_qe_udc: Report disconnect before unbinding · 9ac36da3
      Anton Vorontsov authored
      Gadgets disable endpoints in their disconnect callbacks, so
      we must call disconnect before unbinding. This also fixes
      muram memory leak, since we free muram in the qe_ep_disable().
      
      But mainly the patch fixes following badness:
      
      root@b1:~# insmod fsl_qe_udc.ko
      fsl_qe_udc: Freescale QE/CPM USB Device Controller driver, 1.0
      fsl_qe_udc e01006c0.usb: QE USB controller initialized as device
      root@b1:~# insmod g_ether.ko
      g_ether gadget: using random self ethernet address
      g_ether gadget: using random host ethernet address
      usb0: MAC be:2d:3c:fa:be:f0
      usb0: HOST MAC 62:b8:6a:df:38:66
      g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
      g_ether gadget: g_ether ready
      fsl_qe_udc e01006c0.usb: fsl_qe_udc bind to driver g_ether
      g_ether gadget: high speed config #1: CDC Ethernet (ECM)
      root@b1:~# rmmod g_ether.ko
      ------------[ cut here ]------------
      Badness at drivers/usb/gadget/composite.c:871
      [...]
      NIP [d10c1374] composite_unbind+0x24/0x15c [g_ether]
      LR [d10a82f4] usb_gadget_unregister_driver+0x128/0x168 [fsl_qe_udc]
      Call Trace:
      [cfb93e80] [cfb1f3a0] 0xcfb1f3a0 (unreliable)
      [cfb93eb0] [d10a82f4] usb_gadget_unregister_driver+0x128/0x168 [fsl_qe_udc]
      [cfb93ed0] [d10c2a3c] usb_composite_unregister+0x3c/0x4c [g_ether]
      [cfb93ee0] [c006bde0] sys_delete_module+0x130/0x19c
      [cfb93f40] [c00142d8] ret_from_syscall+0x0/0x38
      [...]
      fsl_qe_udc e01006c0.usb: unregistered gadget driver 'g_ether'
      Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      9ac36da3
    • Shane Huang's avatar
      USB: fix SB600 USB subsystem hang bug · 0a99e8ac
      Shane Huang authored
      This patch is required for all AMD SB600 revisions to avoid USB subsystem hang
      symptom. The USB subsystem hang symptom is observed when the system has
      multiple USB devices connected to it. In some cases a USB hub may be required
      to observe this symptom.
      
      Reported in bugzilla as #11599, the similar patch for SB700 old revision is:
      commit b09bc6cbReported-by: default avatarraffaele <ralfconn@tele2.it>
      Tested-by: default avatarRoman Mamedov <roman@rm.pp.ru>
      Signed-off-by: default avatarShane Huang <shane.huang@amd.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      0a99e8ac
    • Greg Kroah-Hartman's avatar
      Revert "USB: improve ehci_watchdog's side effect in CPU power management" · 269f0532
      Greg Kroah-Hartman authored
      This reverts commit f0d781d5.
      
      It was the wrong thing to do, and does not really do what it said
      it did.
      
      Cc: Yi Yang <yi.y.yang@intel.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      269f0532
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · d9d060a9
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        drm/i915: Fix copy'n'pasteo that broke VT switch if flushing was non-empty.
      d9d060a9
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 03cfdb86
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
        powerpc: Fix system calls on Cell entered with XER.SO=1
        powerpc/cell: Fix GDB watchpoints, again
        powerpc/mpic: Don't reset affinity for secondary MPIC on boot
        powerpc/cell/axon-msi: Retry on missing interrupt
        powerpc: Fix boot freeze on machine with empty memory node
        powerpc: Fix IRQ assignment for some PCIe devices
        powerpc/spufs: Fix spinning in spufs_ps_fault on signal
        powerpc/mpc832x_rdb: fix swapped ethernet ids
        powerpc: Use generic PHY driver for Marvell 88E1111 PHY on GE Fanuc SBC610
        powerpc/85xx: L2 cache size wrong in 8572DS dts
        powerpc/virtex: Update defconfigs
        powerpc/52xx: update defconfigs
        xsysace: Fix driver to use resource_size_t instead of unsigned long
        powerpc/virtex: fix various format/casting printk mismatches
        powerpc/mpc5200: fix bestcomm Kconfig dependencies
        powerpc/44x: Fix 460EX/460GT machine check handling
        powerpc/40x: Limit allocable DRAM during early mapping
      03cfdb86
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 4ec8f077
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        Allow architectures to override copy_user_highpage()
        [ARM] pxa/palmtx: misc fixes to use generic GPIO API
        ARM: OMAP: Fixes for suspend / resume GPIO wake-up handling
        [ARM] pxa/corgi: update default config to exclude tosa from being built
        [ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data
        ARM: OMAP: Typo fix for clock_allow_idle
        ARM: OMAP: Remove broken LCD driver for SX1
        [ARM] 5335/1: pxa25x_udc: Fix is_vbus_present to return 1 or 0
        [ARM] pxa/MioA701: bluetooth resume fix
        [ARM] pxa/MioA701: fix memory corruption.
      4ec8f077
    • Eric Anholt's avatar
      drm/i915: Fix copy'n'pasteo that broke VT switch if flushing was non-empty. · 151903d5
      Eric Anholt authored
      Introduced in the "Avoid BUG_ONs on VT switch" commit.
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      151903d5
  2. 30 Nov, 2008 33 commits