1. 21 7月, 2013 1 次提交
  2. 12 1月, 2013 2 次提交
  3. 07 12月, 2012 1 次提交
  4. 30 8月, 2012 1 次提交
  5. 09 8月, 2012 1 次提交
  6. 01 11月, 2011 2 次提交
  7. 29 9月, 2011 1 次提交
    • T
      ALSA: hda - Allow patching with any vendor/subsystem ids · ef940b04
      Takashi Iwai 提交于
      In the ugly real world, there area really broken devices that don't set
      codec SSID correctly.  In such a case, the ID can be random, thus the
      patching won't work reliably.
      
      For applying the patch forcibly to such a device, the driver will skip
      the vendor and/or subsystem ID checks when zero or a negative number is
      given in [codec] section.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef940b04
  8. 26 7月, 2010 1 次提交
  9. 28 1月, 2010 1 次提交
  10. 27 12月, 2009 1 次提交
  11. 16 12月, 2009 1 次提交
    • A
      tree-wide: convert open calls to remove spaces to skip_spaces() lib function · e7d2860b
      André Goddard Rosa 提交于
      Makes use of skip_spaces() defined in lib/string.c for removing leading
      spaces from strings all over the tree.
      
      It decreases lib.a code size by 47 bytes and reuses the function tree-wide:
         text    data     bss     dec     hex filename
        64688     584     592   65864   10148 (TOTALS-BEFORE)
        64641     584     592   65817   10119 (TOTALS-AFTER)
      
      Also, while at it, if we see (*str && isspace(*str)), we can be sure to
      remove the first condition (*str) as the second one (isspace(*str)) also
      evaluates to 0 whenever *str == 0, making it redundant. In other words,
      "a char equals zero is never a space".
      
      Julia Lawall tried the semantic patch (http://coccinelle.lip6.fr) below,
      and found occurrences of this pattern on 3 more files:
          drivers/leds/led-class.c
          drivers/leds/ledtrig-timer.c
          drivers/video/output.c
      
      @@
      expression str;
      @@
      
      ( // ignore skip_spaces cases
      while (*str &&  isspace(*str)) { \(str++;\|++str;\) }
      |
      - *str &&
      isspace(*str)
      )
      Signed-off-by: NAndré Goddard Rosa <andre.goddard@gmail.com>
      Cc: Julia Lawall <julia@diku.dk>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Neil Brown <neilb@suse.de>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: David Howells <dhowells@redhat.com>
      Cc: <linux-ext4@vger.kernel.org>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e7d2860b
  12. 11 11月, 2009 1 次提交
    • T
      ALSA: hda - Add power on/off counter · a2f6309e
      Takashi Iwai 提交于
      Added the power on/off counter and expose via sysfs files.
      The sysfs files, power_on_acct and power_off_acct, are created under
      each codec hwdep sysfs directory (e.g. /sys/class/sound/hwC0D0).
      The files show the msec length of the codec power-on and power-off,
      respectively.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a2f6309e
  13. 24 6月, 2009 1 次提交
    • T
      ALSA: hda - Add patch module option · 4ea6fbc8
      Takashi Iwai 提交于
      Added the patch module option to apply a "patch" as a firmware to
      modify pin configurations or give additional hints to the driver
      before actually initializing and configuring the codec.
      
      This can be used as a workaround when the BIOS doesn't give sufficient
      information or give wrong information that doesn't match with the real
      hardware setup, until it's fixed statically in the driver via a quirk.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4ea6fbc8
  14. 16 5月, 2009 1 次提交
  15. 13 3月, 2009 1 次提交
  16. 03 3月, 2009 2 次提交
  17. 23 2月, 2009 2 次提交
  18. 20 2月, 2009 2 次提交
  19. 12 2月, 2009 1 次提交
  20. 27 11月, 2008 2 次提交
    • T
      ALSA: hda - Modularize HD-audio driver · 1289e9e8
      Takashi Iwai 提交于
      Split the monolithc HD-audio driver into several pieces:
       - snd-hda-intel   HD-audio PCI controller driver; loaded via udev
       - snd-hda-codec   HD-audio codec bus driver
       - snd-hda-codec-* Specific HD-audio codec drivers
      
      When built as modules, snd-hda-codec (that is invoked by snd-hda-intel)
      looks up the codec vendor ID and loads the corresponding codec module
      automatically via request_module().
      
      When built in a kernel, each codec drivers are statically hooked up
      before probing the PCI.
      
      This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module
      information for each driver, and driver-linking codes between
      codec-bus and codec drivers.
      
      TODO:
        - Avoid EXPORT_SYMBOL*() when built-in kernel
        - Restore __devinit appropriately depending on the condition
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1289e9e8
    • T
      ALSA: hda - Fix PCM reconfigure · 529bd6c4
      Takashi Iwai 提交于
      The reconfiguration of PCM affected all PCM streams on the bus, but
      this this should be done rather only for the target codec.
      
      This patch does the following:
      - introduce bitmap indicating the PCM device usages on a hda_bus
      - refactor the PCM build functions
      - fix __devinit prefix in some fucntions
      - add a proper ifdef around HDA-reconfig-specific functions
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      529bd6c4
  21. 21 11月, 2008 1 次提交
  22. 13 10月, 2008 3 次提交
  23. 27 5月, 2008 1 次提交
  24. 01 2月, 2008 1 次提交
    • T
      [ALSA] Remove sound/driver.h · 9004acc7
      Takashi Iwai 提交于
      This header file exists only for some hacks to adapt alsa-driver
      tree.  It's useless for building in the kernel.  Let's move a few
      lines in it to sound/core.h and remove it.
      With this patch, sound/driver.h isn't removed but has just a single
      compile warning to include it.  This should be really killed in
      future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      9004acc7
  25. 16 10月, 2007 2 次提交