1. 29 Jul, 2008 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - use input_free_device() · f6154d6d
      Takashi Iwai authored
      Use input_free_devce() correctly instead of kfree() at error path.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      f6154d6d
    • Mark Brown's avatar
      ALSA: Build jack detection · 0d94e41a
      Mark Brown authored
      Since jack detection requires the input subsystem which may not be
      desired on small systems it is not built unless required by a driver
      that is being built. Drivers using jack detection should use a pattern
      like this:
      
      config SND_FOO
              tristate "..."
              ...
              select SND_JACK if INPUT=y || INPUT=SND
      
      to ensure that the jack detection API is enabled if the input subsystem
      is.  If the input subsystem is not enabled then a stub version of the
      API is provided.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      0d94e41a
    • Mark Brown's avatar
      ALSA: Add jack reporting API · e76d8cea
      Mark Brown authored
      Currently very few systems provide information about jack status to user
      space, even though many have hardware facilities to do detection. Those
      systems that do use an input device with the existing SW_HEADPHONE_INSERT
      switch type to do so, often independently of ALSA.
      
      This patch introduces a standard method for representing jacks to user
      space into ALSA. It allows drivers to register jacks for a sound card with
      the input subsystem, binding the input device to the card to help user
      space associate the input devices with their sound cards. The created
      input devices are named in the form "card longname jack" where jack is
      provided by the driver when allocating a jack. By default the parent for
      the input device is the sound card but this can be overridden by the
      card driver.
      
      The existing user space API with SW_HEADPHONE_INSERT is preserved.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      e76d8cea
  2. 28 Jul, 2008 3 commits
  3. 20 Jul, 2008 2 commits
  4. 09 Oct, 2008 12 commits
  5. 08 Oct, 2008 3 commits
  6. 07 Oct, 2008 7 commits
  7. 06 Oct, 2008 10 commits