1. 24 Apr, 2010 13 commits
  2. 23 Apr, 2010 16 commits
  3. 22 Apr, 2010 11 commits
    • Jiri Kosina's avatar
      sysfs: use sysfs_attr_init in ASUS atk0110 driver · a30dcb4f
      Jiri Kosina authored
      Annotate dynamic sysfs attribute in atk_create_files(). This gets
      rid of the following lockdep warning:
      
       BUG: key ffff8800379ca670 not in .data!
       ------------[ cut here ]------------
       WARNING: at kernel/lockdep.c:2696 lockdep_init_map+0xd2/0x108()
       Hardware name: P5K PRO
       Modules linked in: asus_atk0110(+) pata_acpi firewire_ohci ata_generic
       dm_multipath firewire_core crc_itu_t pata_marvell floppy
       Pid: 599, comm: modprobe Not tainted 2.6.34-rc4 #27
       Call Trace:
        [<ffffffff8104cdb0>] warn_slowpath_common+0x7c/0x94
        [<ffffffff8104cddc>] warn_slowpath_null+0x14/0x16
        [<ffffffff81077c4d>] lockdep_init_map+0xd2/0x108
        [<ffffffff81165873>] sysfs_add_file_mode+0x66/0xa2
        [<ffffffff811658c0>] sysfs_add_file+0x11/0x13
        [<ffffffff8116594b>] sysfs_create_file+0x2a/0x2c
        [<ffffffff812c1f9c>] device_create_file+0x19/0x1b
        [<ffffffffa005b4fd>] atk_add+0x58b/0x72e [asus_atk0110]
        [<ffffffff812572a1>] acpi_device_probe+0x50/0x122
        [<ffffffff812c46af>] driver_probe_device+0xa2/0x127
        [<ffffffff812c4783>] __driver_attach+0x4f/0x6b
        [<ffffffff812c4734>] ? __driver_attach+0x0/0x6b
        [<ffffffff812c3c94>] bus_for_each_dev+0x59/0x8e
        [<ffffffff812c4519>] driver_attach+0x1e/0x20
        [<ffffffff812c4152>] bus_add_driver+0xb9/0x207
        [<ffffffff812c4a5f>] driver_register+0x9d/0x10e
        [<ffffffffa005f000>] ? atk0110_init+0x0/0x31 [asus_atk0110]
        [<ffffffff81257c7c>] acpi_bus_register_driver+0x43/0x45
        [<ffffffffa005f015>] atk0110_init+0x15/0x31 [asus_atk0110]
        [<ffffffffa005f000>] ? atk0110_init+0x0/0x31 [asus_atk0110]
        [<ffffffff81002069>] do_one_initcall+0x5e/0x15e
        [<ffffffff81085075>] sys_init_module+0xd8/0x239
        [<ffffffff81009cf2>] system_call_fastpath+0x16/0x1b
       ---[ end trace 4d0c84007055efb9 ]---
       BUG: key ffff8800379ca638 not in .data!
       BUG: key ffff8800379ca6a8 not in .data!
       BUG: key ffff8800379ca6e0 not in .data!
       BUG: key ffff880036f73670 not in .data!
       BUG: key ffff880036f73638 not in .data!
       BUG: key ffff880036f736a8 not in .data!
       BUG: key ffff880036f736e0 not in .data!
       BUG: key ffff880036f76c70 not in .data!
       BUG: key ffff880036f76c38 not in .data!
       BUG: key ffff880036f76ca8 not in .data!
       BUG: key ffff880036f76ce0 not in .data!
       BUG: key ffff8800368e7670 not in .data!
       BUG: key ffff8800368e7638 not in .data!
       BUG: key ffff8800368e76a8 not in .data!
       BUG: key ffff8800368e76e0 not in .data!
       BUG: key ffff880036ef7670 not in .data!
       BUG: key ffff880036ef7638 not in .data!
       BUG: key ffff880036ef76a8 not in .data!
       BUG: key ffff880036ef76e0 not in .data!
       BUG: key ffff8800373ccc70 not in .data!
       BUG: key ffff8800373ccc38 not in .data!
       BUG: key ffff8800373ccca8 not in .data!
       BUG: key ffff8800373ccce0 not in .data!
       BUG: key ffff880037a60870 not in .data!
       BUG: key ffff880037a60838 not in .data!
       BUG: key ffff880037a608a8 not in .data!
       BUG: key ffff880037a608e0 not in .data!
       BUG: key ffff880037355070 not in .data!
       BUG: key ffff880037355038 not in .data!
       BUG: key ffff8800373550a8 not in .data!
       BUG: key ffff8800373550e0 not in .data!
       BUG: key ffff8800378c2670 not in .data!
       BUG: key ffff8800378c2638 not in .data!
       BUG: key ffff8800378c26a8 not in .data!
       BUG: key ffff8800378c26e0 not in .data!
       BUG: key ffff880036ef7e70 not in .data!
       BUG: key ffff880036ef7e38 not in .data!
       BUG: key ffff880036ef7ea8 not in .data!
       BUG: key ffff880036ef7ee0 not in .data!
      
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Reported-by: default avatarDhaval Giani <dhaval.giani@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      Tested-by: default avatarDhaval Giani <dhaval.giani@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      a30dcb4f
    • Randy Dunlap's avatar
      Documentation/HOWTO: update git home URL · e234ebf7
      Randy Dunlap authored
      Update git home page info.
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e234ebf7
    • Stefan Richter's avatar
      Documentation: -stable rules: upstream commit ID requirement reworded · 959fb1c5
      Stefan Richter authored
      It is a hard requirement to include the upstream commit ID in the
      changelog of a -stable submission, not just a courtesy to the stable
      team.  This concerns only mail submission though, which is no longer
      the only way into stable.  (Also, fix a double "the".)
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Acked-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      959fb1c5
    • Dinh Nguyen's avatar
      usb: Increase timeout value for device reset · 6307e096
      Dinh Nguyen authored
      It seems that for USB IP on Freescale MX5x processors, it needs >750
      usec for the reset to complete. This change should not hurt any other
      EHCI hardware.
      Signed-off-by: default avatarDinh Nguyen <Dinh.Nguyen@freescale.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      6307e096
    • Alan Stern's avatar
      USB: put claimed interfaces in the "suspended" state · 571dc79d
      Alan Stern authored
      This patch (as1370) fixes a bug in the USB runtime power management
      code.  When a driver claims an interface, it doesn't expect to need to
      call usb_autopm_get_interface() or usb_autopm_put_interface() for
      runtime PM to work.  Runtime PM can be controlled by the driver's
      primary interface; the additional interfaces it claims shouldn't
      interfere.  As things stand, the claimed interfaces will prevent the
      device from autosuspending.
      
      To fix this problem, the patch sets interfaces to the suspended state
      when they are claimed.
      
      Also, although in theory this shouldn't matter, the patch changes the
      suspend code so that interfaces are suspended in reverse order from
      detection and resuming.  This is how the PM core works, and we ought
      to use the same approach.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Debugged-and-tested-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      571dc79d
    • Alan Stern's avatar
      USB: EHCI: defer reclamation of siTDs · 0e5f231b
      Alan Stern authored
      This patch (as1369) fixes a problem in ehci-hcd.  Some controllers
      occasionally run into trouble when the driver reclaims siTDs too
      quickly.  This can happen while streaming audio; it causes the
      controller to crash.
      
      The patch changes siTD reclamation to work the same way as iTD
      reclamation: Completed siTDs are stored on a list and not reused until
      at least one frame has passed.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Tested-by: default avatarNate Case <ncase@xes-inc.com>
      CC: <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      0e5f231b
    • Alan Stern's avatar
      USB: fix remote wakeup settings during system sleep · 5f677f1d
      Alan Stern authored
      This patch (as1363) changes the way USB remote wakeup is handled
      during system sleeps.  It won't be enabled unless an interface driver
      specifically needs it.  Also, it won't be enabled during the FREEZE or
      QUIESCE phases of hibernation, when the system doesn't respond to
      wakeup events anyway.  Finally, if the device is already
      runtime-suspended with remote wakeup enabled, but wakeup is supposed
      to be disabled for the system sleep, the device gets woken up so that
      it can be suspended again with the proper wakeup setting.
      
      This will fix problems people have reported with certain USB webcams
      that generate wakeup requests when they shouldn't, and as a result
      cause system suspends to fail.  See
      
      	https://bugs.launchpad.net/ubuntu/+source/linux/+bug/515109Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Tested-by: default avatarErik Andrén <erik.andren@gmail.com>
      CC: <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5f677f1d
    • Manuel Jander's avatar
      USB: pl2303: add AdLink ND-6530 USB IDs · 9a61d726
      Manuel Jander authored
      I read a rumor that the AdLink ND6530 USB RS232, RS422 and RS485
      isolated adapter is actually a PL2303 based usb serial adapter. I
      tried it out, and as far as I can tell it works.
      Signed-off-by: default avatarManuel Jander <manuel.jander@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      9a61d726
    • William Lightning's avatar
    • Sergei Shtylyov's avatar
      USB: OHCI: DA8xx/OMAP-L1x: fix up macro rename · 9600cbb2
      Sergei Shtylyov authored
      It appears that the DA8xx/OMAP-L1x glue layer went into the kernel uncompilable:
      commit 1960e693 (davinci: da8xx/omapl1: add
      support for the second sysconfig module) has renamed DA8XX_SYSCFG_* macros to
      DA8XX_SYSCFG0_* and it's been committed before the glue layer...
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      9600cbb2
    • Dan Williams's avatar
      USB: qcaux: add LG Rumor and Sanyo Katana LX device IDs · 898f89c3
      Dan Williams authored
      These phones also have the familiar ttyACM0/ttyUSB0 schizophrenia when
      placed into "Dial-up Networking" mode after connecting a USB cable.
      Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      898f89c3