19 Mar, 2014

1 commit

  • The snd_compr_open function would always return 0 even if the compressed
    ops open function failed, obviously this is incorrect. Looks like this
    was introduced by a small typo in:

    commit a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85
    ALSA: Add a reference counter to card instance

    This patch returns the value from the compressed op as it should.

    Signed-off-by: Charles Keepax
    Acked-by: Vinod Koul
    Cc:
    Signed-off-by: Takashi Iwai

    Charles Keepax
     

18 Mar, 2014

1 commit

  • The code introduced in commit 1f91ecc14dee ("ALSA: oxygen: modify
    adjust_dg_dac_routing function") accidentally disregarded the old value
    of the playback routing register, so it broke the "Stereo Upmixing"
    mixer control.

    The unmuted parts of the channel routing are the same for all settings
    of the output destination, so it suffices to revert that part of the
    patch.

    Fixes: 1f91ecc14dee ('ALSA: oxygen: modify adjust_dg_dac_routing function')
    Tested-by: Roman Volkov
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     

11 Mar, 2014

1 commit

  • …nie/sound into for-linus

    ASoC: Fixes for v3.14

    A few things here:
    - Avoid memory leaks in error cases with DPCM, this code has never been
    that well tested in mainline due to the lack of mainline drivers but
    we now have one queued for the merge window!
    - Fix the N810 audio driver to load when booted with DT since the
    platform was converted to DT during the merge window.
    - Fixes for initialisation of some MFD drivers that are probably unused
    in mainline

    Takashi Iwai
     

10 Mar, 2014

4 commits


07 Mar, 2014

1 commit

  • Lenovo IdeaPad 410Y with ALC282 codec makes loud click noises at boot
    and shutdown. Also, it wrongly misdetects the acpi_thinkpad hook.
    This patch adds a device-specific fixup for disabling the shutup
    callback that is the cause of the click noise and also avoiding the
    thinpad_helper calls.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=71511
    Reported-and-tested-by: Guilherme Amadio
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

05 Mar, 2014

4 commits


04 Mar, 2014

2 commits

  • When plugging a headphone or headset, lots of noise is heard from
    internal speaker, after changing the automute via amp instead of
    pinctl, the noise disappears.

    BugLink: https://bugs.launchpad.net/bugs/1268468
    Cc: David Henningsson
    Cc: stable@vger.kernel.org
    Signed-off-by: Hui Wang
    Signed-off-by: Takashi Iwai

    Hui Wang
     
  • Since 3.14-rc1 only DT boot has been supported on N810, so this
    file fails to init. Make a minimal fix to retain functionality.
    This file should be properly converted to DT in longer term.

    There seems to be still other unresolved issues with N810 audio support,
    but this patch is needed at minimum as otherwise the machine driver
    probing would completely fail.

    Signed-off-by: Aaro Koskinen
    Acked-by: Jarkko Nikula
    Signed-off-by: Mark Brown

    Aaro Koskinen
     

03 Mar, 2014

1 commit


27 Feb, 2014

5 commits


26 Feb, 2014

2 commits

  • The driver reads from the DC offset control registers during callibration
    but since the registers are marked as volatile and there is a register
    cache the values will not be read from the hardware after the first reading
    rendering the callibration ineffective.

    It appears that the driver was originally written for the ASoC level
    register I/O code but converted to regmap prior to merge and this issue
    was missed during the conversion as the framework level volatile register
    functionality was not being used.

    Signed-off-by: Mark Brown
    Acked-by: Adam Thomson
    Cc: stable@vger.kernel.org

    Mark Brown
     
  • I lost this SSID. Add it into the fixup table.

    Signed-off-by: Kailang Yang
    Signed-off-by: Takashi Iwai

    Kailang Yang
     

25 Feb, 2014

2 commits

  • HP Folio 13 may have a broken BIOS that doesn't set up the mute LED
    GPIO properly, and the driver guesses it wrongly, too. Add a new
    fixup entry for setting the GPIO pin statically for this laptop.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70991
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The codec->control_data contains a pointer to the device's regmap struct. But
    wm8994_bulk_write() expects a pointer to the parent wm8998 device.

    The issue was introduced in commit d9a7666f ("ASoC: Remove ASoC-specific
    WM8994 I/O code").

    Fixes: d9a7666f ("ASoC: Remove ASoC-specific WM8994 I/O code")
    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Lars-Peter Clausen
     

23 Feb, 2014

4 commits


21 Feb, 2014

1 commit


20 Feb, 2014

10 commits

  • The snd_soc_dapm_xxxx_pin all require the dapm_mutex to be held when
    they are called as they edit the dirty list, however very few of the
    callers do so.

    This patch adds unlocked versions of all the functions replacing the
    existing implementations with one that holds the lock internally. We
    also fix up the places where the lock was actually held on the caller
    side.

    Signed-off-by: Charles Keepax
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Charles Keepax
     
  • The front headphone and mic jackes on a HP desktop model (Vendor Id:
    0x111d76c7 Subsystem Id: 0x103c2b17) can not work, the codec on this
    machine has 8 physical ports, 6 of them are routed to rear jackes
    and all of them work very well, while the remaining 2 ports are
    routed to front headphone and mic jackes, but the corresponding
    pin complex node are not defined correctly.

    After apply this fix, the front audio jackes can work very well.

    [trivial fix of enum definition by tiwai]

    BugLink: https://bugs.launchpad.net/bugs/1282369
    Cc: David Henningsson
    Tested-by: Gerald Yang
    Cc: stable@vger.kernel.org
    Signed-off-by: Hui Wang
    Signed-off-by: Takashi Iwai

    Hui Wang
     
  • …nie/sound into for-linus

    ASoC: Fixes for v3.14

    A few fixes, all driver speccific ones. The DaVinci ones aren't as
    clear as they should be from the subject lines on the commits but they
    fix issues which will prevent correct operation in some use cases and
    only affect that particular driver so are reasonably safe.

    Takashi Iwai
     
  • wm8400 codec driver has a few places wrongly defining the number of
    enum items.

    Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

    Signed-off-by: Takashi Iwai
    Acked-by: Liam Girdwood
    Acked-by: Charles Keepax
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • isabelle codec driver has a few places wrongly defining the number of
    enum items.

    Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

    Signed-off-by: Takashi Iwai
    Acked-by: Liam Girdwood
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • The number of capture sources is 8, not 7.
    Use SOC_ENUM_DOUBLE_DECL() macro and it's automatically fixed.

    Signed-off-by: Takashi Iwai
    Acked-by: Liam Girdwood
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • wm8994 codec driver has a few places wrongly defining the number of
    enum items.

    Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

    Signed-off-by: Takashi Iwai
    Acked-by: Liam Girdwood
    Acked-by: Charles Keepax
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • wm8900 codec driver has a few places wrongly defining the number of
    enum items.

    Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

    Acked-by: Liam Girdwood
    Acked-by: Charles Keepax
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Takashi Iwai
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • wm8770 codec driver defines ain_enum with a wrong number of items.

    Use SOC_ENUM_DOUBLE_DECL() macro and it's automatically fixed.

    Signed-off-by: Takashi Iwai
    Acked-by: Liam Girdwood
    Acked-by: Charles Keepax
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Takashi Iwai
     
  • Preset EQ enum of sta32x codec driver declares too many number of
    items and it may lead to the access over the actual array size.

    Use SOC_ENUM_SINGLE_DECL() helper and it's automatically fixed.

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

    Takashi Iwai
     

19 Feb, 2014

1 commit

  • Incorrect ADC is picked in ca0132_capture_pcm_prepare(),
    where it assumes multiple streams while there is one stream
    per ADC. Note that ca0132_capture_pcm_cleanup() already does
    the right thing.

    The Chromebook Pixel has a microphone under the keyboard that
    is attached to node id 0x8. Before this fix, recording would
    always go to the main internal mic (node id 0x7).

    Signed-off-by: Hsin-Yu Chao
    Reviewed-by: Dylan Reid
    Cc:
    Signed-off-by: Takashi Iwai

    Hsin-Yu Chao