03 May, 2011

1 commit


02 May, 2011

2 commits


29 Apr, 2011

3 commits


28 Apr, 2011

1 commit


27 Apr, 2011

2 commits


21 Apr, 2011

2 commits


19 Apr, 2011

3 commits


14 Apr, 2011

1 commit

  • Commit ce6120cc(ASoC: Decouple DAPM from CODECs) changed the signature of
    snd_soc_dapm_widgets_new to take an pointer to a snd_soc_dapm_context instead of
    a snd_soc_codec. The call to snd_soc_dapm_widgets_new in jz4740_codec_dev_probe
    was not updated to reflect this change, which results in a compiletime warning
    and a runtime OOPS.

    Since the core code calls snd_soc_dapm_widgets_new after the codec has been
    registered it can be dropped here.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Lars-Peter Clausen
     

12 Apr, 2011

7 commits


11 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Don't query connections for widgets have no connections
    ALSA: HDA: Fix single internal mic on ALC275 (Sony Vaio VPCSB1C5E)
    ALSA: hda - HDMI: Fix MCP7x audio infoframe checksums
    ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
    ALSA: HDA: Fix dock mic for Lenovo X220-tablet
    ASoC: format_register_str: Don't clip register values
    ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare
    ASoC: zylonite: set .codec_dai_name in initializer

    Linus Torvalds
     

09 Apr, 2011

2 commits


08 Apr, 2011

2 commits

  • Update the headphone and line out mixers and PGAs use the same logical
    set of register bits and sequencing as the speaker mixer/PGA.

    This allows ALSA controls for mute and volume on headphone and line out
    to operate correctly.

    Per conversation on alsa-devel, earlier datasheets indicated that the
    POWER_MANAGEMENT_* register bits 0 and 1 were aliases to ANALOG_* register
    bits 0 and 4, and hence only one copy of those bits was programmed.
    However, later datasheets corrected this.

    From: Dilan Lee
    [swarren: Applied same change to headphone widgets]
    Signed-off-by: Stephen Warren
    Signed-off-by: Mark Brown

    Dilan Lee
     
  • * 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
    Fix common misspellings

    Linus Torvalds
     

07 Apr, 2011

6 commits

  • Fixes the kernel warnings with IDT codecs like
    hda_codec: connection list not available for 0x1e

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • In cases where there is only one internal mic connected to ADC 0x11,
    alc275_setup_dual_adc won't handle the case, so we need to add the
    ADC node to the array of candidates.

    Cc: stable@kernel.org
    BugLink: http://bugs.launchpad.net/bugs/752792
    Reported-by: Vincenzo Pii
    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • The MCP7x hardware computes the audio infoframe channel count
    automatically, but requires the audio driver to set the audio
    infoframe checksum manually via the Nv_VERB_SET_Info_Frame_Checksum
    control verb.

    When audio starts playing, nvhdmi_8ch_7x_pcm_prepare sets the checksum
    to (0x71 - chan - chanmask). For example, for 2ch audio, chan == 1
    and chanmask == 0 so the checksum is set to 0x70. When audio playback
    finishes and the device is closed, nvhdmi_8ch_7x_pcm_close resets the
    channel formats, causing the channel count to revert to 8ch. Since
    the checksum is not reset, the hardware starts generating audio
    infoframes with invalid checksums. This causes some displays to blank
    the video.

    Fix this by updating the checksum and channel mask when the device is
    closed and also when it is first initialized. In addition, make sure
    that the channel mask is appropriate for an 8ch infoframe by setting
    it to 0x13 (FL FR LFE FC RL RR RLC RRC).

    Signed-off-by: Aaron Plattner
    Acked-by: Stephen Warren
    Cc:
    Signed-off-by: Takashi Iwai

    Aaron Plattner
     
  • Ensures that we apply volume updates that don't affect the right channel.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • initialize ret to invalid value so that when we reach the config error path in
    soc_pcm_open, it will return the correct error code. without this patch, though
    config error path is executed, soc_pcm_open will return 0 in
    snd_pcm_open_substream and then cause double release of substream.

    Signed-off-by: Lu Guanqun
    Signed-off-by: Mark Brown

    Lu Guanqun
     
  • Suppose we have:

    cpu_dai
    channels_min = 1
    channels_max = 1

    codec_dai
    channels_min = 2
    channels_max = 2

    This is a mismatch that should not happen, however according to the current
    code, the result of runtime->hw will be:

    channels_min = 2
    channels_max = 1

    We better spot it early. This patch checks this mismatch.

    Signed-off-by: Lu Guanqun
    Signed-off-by: Mark Brown

    Lu Guanqun
     

06 Apr, 2011

2 commits


05 Apr, 2011

2 commits


04 Apr, 2011

1 commit


03 Apr, 2011

2 commits