20 May, 2011

1 commit


10 May, 2011

1 commit


03 May, 2011

1 commit


02 May, 2011

2 commits


29 Apr, 2011

3 commits


28 Apr, 2011

3 commits


27 Apr, 2011

2 commits


26 Apr, 2011

4 commits

  • The current davinci_mcasp_set_dai_fmt() sets bits ACLKX and ACLKR in the PDIR
    register for the codec clock-master/frame-slave mode; however, this results in
    the ACLKX and ACLKR pins being outputs according to SPRUFM1 [1] which
    conflicts with "codec is clock master."

    Similarly to the previous patch in this series, "fix _CBM_CFS hw_params" --
    For codec clock-master/frame-slave mode (_CMB_CFS), clear bits ACLKX and ACLKR
    in the PDIR register to set the pins as inputs and hence allow externally
    sourced bit-clocks.

    [1] http://www.ti.com/litv/pdf/sprufm1

    Signed-off-by: Ben Gardiner
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current davinci_mcasp_set_dai_fmt() sets bits ACLKXE and ACLKRE (CLKXM
    and CLKRM as they are reffered to in SPRUFM1 [1]) for codec clock-slave/
    frame-slave mode (_CBS_CFS) which selects internally generated bit-clock and
    frame-sync signals; however, it does the same thing again for codec
    clock-master/frame-slave mode (_CBM_CFS) in the very next case statement which
    is incorrectly selecting internally generated bit-clocks in this mode.

    For codec clock-master/frame-slave mode (_CBM_CFS), clear bits ACLKXE and
    ACLKRE to select externally-generated bit-clocks.

    [1] http://www.ti.com/litv/pdf/sprufm1

    Signed-off-by: Ben Gardiner
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current driver creates value for set/clr of PDIR using (x<
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current check for the number of tdm-slots specified by platform data is
    always true (x >= 2 || x
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     

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

5 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