Skip to content
  1. Jun 10, 2011
    • Takashi Iwai's avatar
      ALSA: Use KBUILD_MODNAME for pci_driver.name entries · 3733e424
      Takashi Iwai authored
      
      
      The convention for pci_driver.name entry in kernel drivers seem to be
      the module name or equivalent ones.  But, so far, almost all PCI sound
      drivers use more verbose name like "ABC Xyz (12)", and these are fairly
      confusing when appearing as a file name.
      
      This patch converts the all pci_driver.name entries in sound/pci/* to
      use KBUILD_MODNAME for more unified appearance.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3733e424
  2. Jun 03, 2011
  3. Jun 02, 2011
  4. May 28, 2011
    • Linus Torvalds's avatar
      ALSA: fix hda AZX_DCAPS_NO_TCSEL quirk check in driver_caps · 46f2cc80
      Linus Torvalds authored
      
      
      Commit 9477c58e ("ALSA: hda - Reorganize controller quriks with bit
      flags") changed the driver type compares into various quirk bits.
      However, the check for AZX_DCAPS_NO_TCSEL got reverted: instead of
      clearing TCSEL for chipsets that have that standard capability, it
      cleared then when the NO_TCSEL bit was set.
      
      This can lead to noise and repeated sounds - a weird "echo" behavior.
      As the comment just above says: "Ensuring these bits are 0 clears
      playback static on some HD Audio codecs".  Which is definitely true at
      least on my Core i5 Westmere system.
      
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      46f2cc80
  5. May 27, 2011
  6. May 26, 2011
  7. May 25, 2011
    • Daniel Mack's avatar
      ALSA: usb-audio: more control quirks for M-Audio FastTrack devices · d5a0bf6c
      Daniel Mack authored
      
      
      Make use of the freshly introduced methods to re-use standard mixer
      handling and add some controls that are hidden but implemented in a
      standard conform way on M-Audio's FastTrack devices.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Original-code-by: default avatarFelix Homann <linuxaudio@showlabor.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d5a0bf6c
    • Daniel Mack's avatar
      ALSA: usb-audio: add new quirk type QUIRK_AUDIO_STANDARD_MIXER · 014950b0
      Daniel Mack authored
      
      
      This quirk type will let the driver assume that there is a standard
      mixer on a given interface, or that a specific mixer quirks will handle
      the device.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      014950b0
    • Daniel Mack's avatar
      ALSA: usb-audio: export snd_usb_feature_unit_ctl · 9e38658f
      Daniel Mack authored
      
      
      In order to allow quirks functions to hook up to the standard feature
      unit op tables, this patch exports a pointer to the struct that is used
      internally.
      
      That way, all the code handling the control can be kept private, and
      external code can reference the symbol to re-use it.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9e38658f
    • Daniel Mack's avatar
      ALSA: usb-audio: rework add_control_to_empty() · ef9d5970
      Daniel Mack authored
      
      
      This patch renames add_control_to_empty() to snd_usb_mixer_add_control()
      and exports it, so the quirks functions can make use of it.
      
      Also, as "struct mixer_build" is private to mixer.c, rewrite the
      function to take an argument of type "struct usb_mixer_interface"
      instead.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef9d5970
    • Daniel Mack's avatar
      ALSA: usb-audio: move assignment of chip->ctrl_intf · 5875c2cb
      Daniel Mack authored
      
      
      This is needed for upcoming changes to the quirks mechanism.
      
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5875c2cb
    • Takashi Iwai's avatar
      ALSA: hda - Use model=auto for Lenovo G555 · af4ccf4f
      Takashi Iwai authored
      
      
      The new auto-parser fixes problems on Lenovo G555.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      af4ccf4f
    • Stephen Warren's avatar
      ALSA: HDA: Unify HDMI hotplug handling. · 5d44f927
      Stephen Warren authored
      
      
      This change unifies the initial handling of a pin's state with the code to
      update a pin's state after a hotplug (unsolicited response) event. The
      initial probing, and all updates, are now routed through hdmi_present_sense.
      
      The stored PD and ELDV status is now always derived from GetPinSense verb
      execution, and not from the data in the unsolicited response. This means:
      
      a) The WAR for NVIDIA codec's UR.PD values ("old_pin_detect") can be
         removed, since this only affected the no-longer-used unsolicited
         response payload.
      
      b) In turn, this means that most NVIDIA codecs can simply use
         patch_generic_hdmi instead of having a custom variant just to set
         old_pin_detect.
      
      c) When PD && ELDV becomes true, no extra verbs are executed, because the
         GetPinSense that was previously executed by snd_hdmi_get_eld (really,
         hdmi_eld_valid) has simply moved into hdmi_present_sense.
      
      d) When PD && ELDV becomes false, there is a single extra GetPinSense verb
         executed for codecs where old_pin_detect wasn't set, i.e. some NVIDIA,
         and all ATI/AMD and Intel codecs. I doubt this will be a performance
         issue.
      
      The new unified code in hdmi_present_sense also ensures that eld->eld_valid
      is not set unless eld->monitor_present is also set. This protects against
      potential invalid combinations of PD and ELDV received from HW, and
      transitively from a graphics driver.
      
      Also, print the derived PD/ELDV bits from hdmi_present_sense so the kernel
      log always displays the actual state stored, which will differ from the
      values in the unsolicited response for NVIDIA HW where old_pin_detect was
      previously set.
      
      Finally, a couple of small tweaks originally by Takashi:
      
      * Clear the ELD content to zero before reading it, so that if it's not
        read (i.e. when !(PD && ELDV)) it's in a known state.
      
      * Don't show ELD fields in /proc ELD files when the ELD isn't valid.
      
      The only possibility I can see for regression here is a codec where the
      GetPinSense verb returns incorrect data. However, we're already exposed
      to that, since that data is used (a) from hdmi_add_pin to set up the
      initial pin state, and (b) within snd_hda_input_jack_report to query
      a pin's presence value. As such, I don't believe any HW has bugs here.
      
      Includes-changes-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5d44f927
    • Tony Vroon's avatar
      ALSA: hda - Force AD1988_6STACK_DIG for Asus M3N-HT Deluxe · 4e60b4f8
      Tony Vroon authored
      
      
      The microphone input on the back panel (pink connector)
      stopped operating correctly after an upgrade from
      2.6.35 to 2.6.38; the actual problem manifests itself
      as a lack of microphone bias voltage (VREF_HIZ) on
      node 0x17.
      With AD1988_6STACK_DIG the maximum bias voltage (VREF_80)
      is applied and the headset operates correctly.
      
      Signed-off-by: default avatarTony Vroon <tony@linx.net>
      Tested-by: default avatarDoug Redlich <pbrigade@nxltech.net>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4e60b4f8
  8. May 24, 2011
  9. May 23, 2011
Loading