1. 02 2月, 2007 1 次提交
  2. 31 1月, 2007 10 次提交
  3. 30 1月, 2007 2 次提交
    • J
      HID: fix pb_fnmode and move it to generic HID · 76398f96
      Jiri Kosina 提交于
      The apple powerbook people are used to switch the pb_fnmode
      setting at runtime through writing to sysfs, altering the
      module parameter value. This was broken for them in 2.6.20-rc1
      when generic HID layer was introduced, as the pb_fnmode flag
      was made per-hiddevice, instead of global variable.
      
      This patch moves the pb_fnmode module parameter from usbhid module
      to hid module, but apart from that retains backward compatibility
      with respect to changing the mode through sysfs.
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      76398f96
    • T
      [PATCH] ALSA: Fix sysfs breakage · 7d2aae1e
      Takashi Iwai 提交于
      The recent change for a new sysfs tree with card* object breaks the
      /sys/class/sound tree if CONFIG_SYSFS_DEPRECATED is enabled.
      The device in each entry doesn't point the correct device object:
      
        /sys/class/sound
        ...
        |-- pcmC0D0c
        |   |-- dev
        |   |-- device -> ../../../class/sound/card0
        |   |-- pcm_class
        |   |-- power
        |   |   `-- wakeup
        |   |-- subsystem -> ../../../class/sound
        |   `-- uevent
      
      Also, this change breaks some drivers (like sound/arm/*) referring
      card->dev directly to obtain the device object for memory handling.
      
      This patch reverts the semantics of card->dev to the former version,
      which points to a real device object.  The card* object is stored in a
      new card->card_dev field, instead.  The device parent is chosen either
      card->dev or card->card_dev according to CONFIG_SYSFS_DEPRECATED to
      keep the tree compatibility.
      Also, card* isn't created if CONFIG_SYSFS_DEPRECATED is enabled.  The
      reason of card* object is a root of all beloing devices, and it makes
      little sense if each sound device points to the real device object
      directly.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Acked-by: NMonty Montgomery <xiphmont@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7d2aae1e
  4. 29 1月, 2007 1 次提交
  5. 27 1月, 2007 12 次提交
  6. 26 1月, 2007 4 次提交
  7. 25 1月, 2007 6 次提交
  8. 24 1月, 2007 4 次提交