25 Sep, 2015

2 commits

  • Lenovo Thinkpads with recent Realtek codecs seem suffering from click
    noises at power transition since the introduction of widget power
    saving in 4.1 kernel. Although this might be solved by some delays in
    appropriate points, as a quick workaround, just disable the
    power_save_node feature for now. The gain it gives is relatively
    small, and this makes the situation back to pre 4.1 time.

    This patch ended up with a bit more code changes than usual because
    the existing fixup for Thinkpads is highly chained. Instead of adding
    yet another chain, combine a few of them into a single fixup entry, as
    a gratis cleanup.

    Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=943982
    Cc: # v4.1+
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • …roonie/sound into for-linus

    ASoC: Fixes for v4.3

    A disappointingly large set of fixes, though none of them very big and
    very widely spread over many different drivers. Nothing especially
    stands out, it's mostly all device specific and relatively minor.

    Takashi Iwai
     

24 Sep, 2015

9 commits


23 Sep, 2015

1 commit

  • PCM receive and transmit DMA requestor lines were reverted, breaking the
    PCM playback interface for PXA platforms using the sound/soc/ variant
    instead of the sound/arm variant.

    The commit below shows the inversion in the requestor lines.

    Fixes: d65a14587a9b ("ASoC: pxa: use snd_dmaengine_dai_dma_data")
    Signed-off-by: Robert Jarzmik
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Robert Jarzmik
     

20 Sep, 2015

1 commit

  • Current code incorrectly treats dai format for AC97 as bit mask
    whereas it's actually an integer value. This causes DAI formats
    other than AC97 (e.g. DSP_B) to trigger AC97 related code,
    which is incorrect and breaks functionality. This patch fixes
    the code to correctly compare values to determine AC97 or not.

    Signed-off-by: Adam Thomson
    Acked-by: Timur Tabi
    Signed-off-by: Mark Brown

    Adam Thomson
     

19 Sep, 2015

4 commits


18 Sep, 2015

1 commit


17 Sep, 2015

1 commit

  • The previous fix of pxa library support, which was introduced to fix the
    library dependency, broke the previous SoC behavior, where a machine
    code binding pxa2xx-ac97 with a coded relied on :
    - sound/soc/pxa/pxa2xx-ac97.c
    - sound/soc/codecs/XXX.c

    For example, the mioa701_wm9713.c machine code is currently broken. The
    "select ARM" statement wrongly selects the soc/arm/pxa2xx-ac97 for
    compilation, as per an unfortunate fate SND_PXA2XX_AC97 is both declared
    in sound/arm/Kconfig and sound/soc/pxa/Kconfig.

    Fix this by ensuring that SND_PXA2XX_SOC correctly triggers the correct
    pxa2xx-ac97 compilation.

    Fixes: 846172dfe33c ("ASoC: fix SND_PXA2XX_LIB Kconfig warning")
    Signed-off-by: Robert Jarzmik
    Signed-off-by: Mark Brown

    Robert Jarzmik
     

15 Sep, 2015

6 commits


12 Sep, 2015

1 commit

  • Pull sound fixes from Takashi Iwai:
    "A collection of small fixes since the last update: the HD-audio quirks
    as usual with a USB-audio fix and a trivial fix for the old sparc
    driver"

    * tag 'sound-fix-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: usb-audio: Change internal PCM order
    ALSA: hda - Fix white noise on Dell M3800
    ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437
    ALSA: hda - Enable headphone jack detect on old Fujitsu laptops
    ALSA: sparc: amd7930: Fix module autoload for OF platform driver
    ALSA: hda - Add some FIXUP quirks for white noise on Dell laptop.

    Linus Torvalds
     

11 Sep, 2015

4 commits


10 Sep, 2015

1 commit


09 Sep, 2015

2 commits


07 Sep, 2015

1 commit

  • New PCMs will now be added to the end of the chip's PCM list instead of to the
    front. This changes the way streams are combined so that the first capture
    stream will now be merged with the first playback stream instead of the last.

    This fixes a problem with ASUS U7. Cards with one playback stream and cards
    without capture streams should be unaffected by this change.

    Exception added for M-Audio Audiophile USB (tm) since it seems to have a fix to
    swap capture stream numbering in alsa-lib conf/cards/USB-audio.conf

    Signed-off-by: Johan Rastén
    Signed-off-by: Takashi Iwai

    Johan Rastén
     

06 Sep, 2015

3 commits


05 Sep, 2015

1 commit

  • Pull sound updates from Takashi Iwai:
    "There are little changes in core part, but lots of development are
    found in drivers, especially ASoC. The diffstat shows regmap-related
    changes for a slight API additions / changes, and that's all.

    Looking at the code size statistics, the most significant addition is
    for Intel Skylake. (Note that SKL support is still underway, the
    codec driver is missing.) Also STI controller driver is a major
    addition as well as a few new codec drivers.

    In HD-audio side, there are fewer changes than the past. The
    noticeable change is the support of ELD notification from i915
    graphics driver. Thus this pull request carries a few changes in
    drm/i915.

    Other than that, USB-audio got a rewrite of runtime PM code. It was
    initiated by lockdep warning, but resulted in a good cleanup in the
    end.

    Below are the highlights:

    Common:
    - Factoring out of AC'97 reset code from ASoC into the core helper
    - A few regmap API extensions (in case it's not pulled yet)

    ASoC:
    - New drivers for Cirrus CS4349, GTM601, InvenSense ICS43432, Realtek
    RT298 and ST STI controllers
    - Machine drivers for Rockchip systems with MAX98090 and RT5645 and
    RT5650
    - Initial driver support for Intel Skylake devices
    - Lots of rsnd cleanup and enhancements
    - A few DAPM fixes and cleanups
    - A large number of cleanups in various drivers (conversion and
    standardized to regmap, component) mostly by Lars-Peter and Axel

    HD-audio:
    - Extended HD-audio core for Intel Skylake controller support
    - Quirks for Dell headsets, Alienware 15
    - Clean up of pin-based quirk tables for Realtek codecs
    - ELD notifier implenetation for Intel HDMI/DP

    USB-audio:
    - Refactor runtime PM code to make lockdep happier"

    * tag 'sound-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (411 commits)
    drm/i915: Add locks around audio component bind/unbind
    drm/i915: Drop port_mst_index parameter from pin/eld callback
    ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
    ALSA: hda - Wake the codec up on pin/ELD notify events
    ALSA: hda - allow codecs to access the i915 pin/ELD callback
    drm/i915: Call audio pin/ELD notify function
    drm/i915: Add audio pin sense / ELD callback
    ASoC: zx296702-i2s: Fix resource leak when unload module
    ASoC: sti_uniperif: Ensure component is unregistered when unload module
    ASoC: au1x: psc-i2s: Convert to use devm_ioremap_resource
    ASoC: sh: dma-sh7760: Convert to devm_snd_soc_register_platform
    ASoC: spear_pcm: Use devm_snd_dmaengine_pcm_register to fix resource leak
    ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure
    ASoC: Clean up docbook warnings
    ASoC: txx9: Convert to devm_snd_soc_register_platform
    ASoC: pxa: Convert to devm_snd_soc_register_platform
    ASoC: nuc900: Convert to devm_snd_soc_register_platform
    ASoC: blackfin: Convert to devm_snd_soc_register_platform
    ASoC: au1x: Convert to devm_snd_soc_register_platform
    ASoC: qcom: Constify asoc_qcom_lpass_cpu_dai_ops
    ...

    Linus Torvalds
     

04 Sep, 2015

2 commits

  • This platform driver has a OF device ID table but the OF module
    alias information is not created so module autoloading won't work.

    Signed-off-by: Luis de Bethencourt
    Signed-off-by: Takashi Iwai

    Luis de Bethencourt
     
  • Dell laptop has a series model to use the same codec but different subsystem ID.
    At the same time they happens the white noise by login screen and headphone;
    for fixing them together, I only can add these IDs to FIXUP function ALC292_FIXUP_DISABLE_AAMIX,
    then try to solve such the similar issues.

    Codec: Realtek ALC3235
    Vendor Id: 0x10ec0293
    Subsystem Id: 0x102806dd
    Subsystem Id: 0x102806df
    Subsystem Id: 0x102806e0

    Cc:
    BugLink: https://bugs.launchpad.net/bugs/1492132
    Signed-off-by: Woodrow Shen
    Signed-off-by: Takashi Iwai

    Woodrow Shen