16 Apr, 2014

2 commits


14 Apr, 2014

1 commit


11 Apr, 2014

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Here is a bunch of small fixes that have been collected since the
    previous pull request. In addition to various misc fixes, the
    following are included:

    - HD-audio quirks for Dell, HP, Chromebook, and ALC28x codecs
    - HD-audio AMD HDMI regression fix
    - Continued PM support/fixes for ice1712 driver
    - Multiplatform fixes for ASoC samsung drivers
    - Addition of device id tables to a few ASoC drivers
    - Bit clock polarity config and error flag fixes in ASoC fsl_sai"

    * tag 'sound-fix-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (32 commits)
    ALSA: usb-audio: Suppress repetitive debug messages from retire_playback_urb()
    ALSA: hda - Make full_reset boolean
    ALSA: hda - add headset mic detect quirk for a Dell laptop
    sound: dmasound: use module_platform_driver_probe()
    ALSA: au1x00: use module_platform_driver()
    ALSA: hda - Use runtime helper to check active state.
    ALSA: ice1712: Fix boundary checks in PCM pointer ops
    ASoC: davinci-mcasp: Fix bit clock polarity settings
    ASoC: samsung: Fix build on multiplatform
    ASoC: fsl_sai: Fix Bit Clock Polarity configurations
    ALSA: hda - Do not assign streams in reverse order
    ALSA: hda/realtek - Add eapd shutup to ALC283
    ALSA: hda/realtek - Change model name alias for ChromeOS
    ASoC: da732x: Print correct major id
    ALSA: hda/realtek - Improve HP depop when system change power state on Chromebook
    ASoC: cs42l52: Fix mask for REVID
    sound/oss: Remove uncompilable DBG macro use
    ALSA: ice1712: Save/restore routing and rate registers
    ALSA: ice1712: restore AK4xxx volumes on resume
    ASoC: alc56(23|32): fix undefined return value of probing code
    ...

    Linus Torvalds
     

09 Apr, 2014

3 commits


08 Apr, 2014

5 commits

  • PCM pointer callbacks in ice1712 driver check the buffer size boundary
    wrongly between bytes and frames. This leads to PCM core warnings
    like:
    snd_pcm_update_hw_ptr0: 105 callbacks suppressed
    ALSA pcm_lib.c:352 BUG: pcmC3D0c:0, pos = 5461, buffer size = 5461, period size = 2730

    This patch fixes these checks to be placed after the proper unit
    conversions.

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Currently stream numbers are assigned in reverse order.

    Unfortunately commit 7546abfb8e1f9933b5 ("ALSA: hda - Increment
    default stream numbers for AMD HDMI controllers") assumed this was not
    the case (specifically, it had the "old cards had single device only"
    => "extra unused stream numbers do not matter" assumption), causing
    non-working audio regressions for AMD Radeon HDMI users.

    Change the stream numbers to be assigned in forward order.

    The benefit is that regular audio playback will still work even if the
    assumed stream count is too high, downside is that a too high stream
    count may remain hidden.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77002
    Reported-by: Christian Güdel
    Signed-off-by: Anssi Hannula
    Tested-by: Christian Güdel # 3.14
    Cc: Alex Deucher
    Signed-off-by: Takashi Iwai

    Anssi Hannula
     
  • Add eapd shutup function to alc283_shutup.
    It could avoid pop noise from speaker.

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

    Kailang Yang
     
  • Chrome OS was use model name of alc283-dac-wcaps for loading model as default.
    Change the model name to same as model name of Chrome OS for future support.

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

    Kailang Yang
     
  • If the renamed symbol is defined lib/iomap.c implements ioport_map and
    ioport_unmap and currently (nearly) all platforms define the port
    accessor functions outb/inb and friend unconditionally. So
    HAS_IOPORT_MAP is the better name for this.

    Consequently NO_IOPORT is renamed to NO_IOPORT_MAP.

    The motivation for this change is to reintroduce a symbol HAS_IOPORT
    that signals if outb/int et al are available. I will address that at
    least one merge window later though to keep surprises to a minimum and
    catch new introductions of (HAS|NO)_IOPORT.

    The changes in this commit were done using:

    $ git grep -l -E '(NO|HAS)_IOPORT' | xargs perl -p -i -e 's/\b((?:CONFIG_)?(?:NO|HAS)_IOPORT)\b/$1_MAP/'

    Signed-off-by: Uwe Kleine-König
    Acked-by: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Uwe Kleine-König
     

07 Apr, 2014

1 commit


04 Apr, 2014

2 commits


03 Apr, 2014

3 commits


31 Mar, 2014

5 commits


26 Mar, 2014

1 commit

  • When we plug a 3-ring headset on the Dell machines (VID: 0x10ec0255,
    SID: 0x10280632; VID: 0x10ec0293, SID: 0x1028062c; VID: 0x10ec0293,
    SID: 0x1028062e), the headset mic can't be detected, after apply this
    patch, the headset mic can work well.

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

    Hui Wang
     

25 Mar, 2014

1 commit

  • The auto-parser may ignore some pins that could be valid when they
    don't match with the assumption or if there are way too many pins
    assigned to the same output type. So far, such a pin has been
    silently ignored, but it's better to leave a message, which would help
    for debugging and understanding the problem.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

20 Mar, 2014

1 commit

  • This is a temporary fix for some Intel HDMI codecs to avoid no sound output for
    a resuming playback after S3.

    After S3, the audio driver restores pin:cvt connection selections by
    snd_hda_codec_resume_cache(). However this can happen before the gfx side is
    ready and such connect selection is overlooked by HW. After gfx is ready, the
    pins make the default selection again. And this will cause multiple pins share
    a same convertor and mute control will affect each other. Thus a resumed audio
    playback become silent after S3.

    This patch verifies pin:cvt connection on preparing a stream, to assure the pin
    selects the right convetor and an assigned convertor is not shared by other
    unused pins. Apply this fix-up on Haswell, Broadwell and Valleyview (Baytrail).

    We need this temporary fix before a reliable software communication channel is
    established between audio and gfx, to sync audio/gfx operations.

    Signed-off-by: Mengdong Lin
    Signed-off-by: Takashi Iwai

    Mengdong Lin
     

18 Mar, 2014

6 commits


13 Mar, 2014

1 commit

  • ASoC: Updates for v3.15

    Quite a busy release for ASoC this time, more on janitorial work than
    exciting new features but welcome nontheless:

    - Lots of cleanups from Takashi for enumerations; the original API for
    these was error prone so he's refactored lots of code to use more
    modern APIs which avoid issues.
    - Elimination of the ASoC level wrappers for I2C and SPI moving us
    closer to converting to regmap completely and avoiding some
    randconfig hassle.
    - Provide both manually and transparently locked DAPM APIs rather than
    a mix of the two fixing some concurrency issues.
    - Start converting CODEC drivers to use separate bus interface drivers
    rather than having them all in one file helping avoid dependency
    issues.
    - DPCM support for Intel Haswell and Bay Trail platforms.
    - Lots of work on improvements for simple-card, DaVinci and the Renesas
    rcar drivers.
    - New drivers for Analog Devices ADAU1977, TI PCM512x and parts of the
    CSR SiRF SoC.

    Takashi Iwai
     

11 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

2 commits