28 Nov, 2013

4 commits

  • As the previous commit 1f0bbf03cb82 added the pin config for the bass
    speaker, this patch adds the corresponding LFE-only channel map on
    ASUS ET2700.

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

    Takashi Iwai
     
  • Add a fixup entry for the missing bass speaker pin 0x16 on ASUS ET2700
    AiO desktop. The channel map will be added in the next patch, so that
    this can be backported easily to stable kernels.

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

    Takashi Iwai
     
  • This both devices need limit for internal dmic.

    [cosmetic change; renamed fixup name by tiwai]

    Signed-off-by: Oleksij Rempel
    Signed-off-by: Takashi Iwai

    Oleksij Rempel
     
  • The current generic parser assumes blindly that the volume and mute
    amps are found in the aamix node itself. But on some codecs,
    typically Analog Devices ones, the aamix amps are separately
    implemented in each leaf node of the aamix node, and the current
    driver can't establish the correct amp controls. This is a regression
    compared with the previous static quirks.

    This patch extends the search for the amps to the leaf nodes for
    allowing the aamix controls again on such codecs.
    In this implementation, I didn't code to loop through the whole paths,
    since usually one depth should suffice, and we can't search too
    deeply, as it may result in the conflicting control assignments.

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

    Takashi Iwai
     

27 Nov, 2013

5 commits

  • When the hp mic pin has no VREF bits, the driver forgot to set PIN_IN
    bit. Spotted during debugging old MacBook Airs.

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

    Takashi Iwai
     
  • When a headphone jack is configurable as input, the generic parser
    tries to make it retaskable as Headphone Mic. The switching can be
    done smoothly if Capture Source control exists (i.e. there is another
    input source). Or when user explicitly enables the creation of jack
    mode controls, "Headhpone Mic Jack Mode" will be created accordingly.

    However, if the headphone mic is the only input source, we have to
    create "Headphone Mic Jack Mode" control because there is no capture
    source selection. Otherwise, the generic parser assumes that the
    input is constantly enabled, thus the headphone is permanently set
    as input. This situation happens on the old MacBook Airs where no
    input is supported properly, for example.

    This patch fixes the problem: now "Headphone Mic Jack Mode" is created
    when such an input selection isn't possible.

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

    Takashi Iwai
     
  • For Wireless USB audio devices, use multiple isoc packets per URB for
    inbound endpoints with a datainterval < 5. This allows the WUSB host
    controller to take advantage of bursting to service endpoints whose
    logical polling interval is less than the 4ms minimum polling interval
    limit in WUSB.

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Takashi Iwai

    Thomas Pugliese
     
  • Most Thinkpad Edge series laptops use conexant codec, so far although
    the codecs have different minor Vendor Id and minor Subsystem Id,
    they all belong to the cxt5066 family, this change can make the
    mute/mic-mute LEDs support more generic among cxt_5066 family.

    This design refers to the similar solution for the realtek codec
    ALC269 family in the patch_realtek.c.

    Cc: Alex Hung
    Signed-off-by: Hui Wang
    Acked-by: David Henningsson
    Signed-off-by: Takashi Iwai

    Hui Wang
     
  • Takashi Iwai
     

26 Nov, 2013

3 commits


23 Nov, 2013

1 commit

  • Pull second set of sound fixes from Takashi Iwai:
    "A collection of small fixes in HD-audio quirks and runtime PM, ASoC
    rcar, abs8500 and other codecs. Most of commits are for stable
    kernels, too"

    * tag 'sound-fix2-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Set current_headset_type to ALC_HEADSET_TYPE_ENUM (janitorial)
    ALSA: hda - Provide missing pin configs for VAIO with ALC260
    ALSA: hda - Add headset quirk for Dell Inspiron 3135
    ALSA: hda - Fix the headphone jack detection on Sony VAIO TX
    ALSA: hda - Fix missing bass speaker on ASUS N550
    ALSA: hda - Fix unbalanced runtime PM notification at resume
    ASoC: arizona: Set FLL to free-run before disabling
    ALSA: hda - A casual Dell Headset quirk
    ASoC: rcar: fixup dma_async_issue_pending() timing
    ASoC: rcar: off by one in rsnd_scu_set_route()
    ASoC: wm5110: Add post SYSCLK register patch for rev D chip
    ASoC: ab8500: Revert to using custom I/O functions
    ALSA: hda - Also enable mute/micmute LED control for "Lenovo dock" fixup
    ALSA: firewire-lib: include sound/asound.h to refer to snd_pcm_format_t
    ALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP
    ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Realtek codec
    ASoC: rcar: fixup mod access before checking

    Linus Torvalds
     

22 Nov, 2013

3 commits

  • This commit fix out of specification about the value of FDF field in out packet
    with 'no data'. This affects blocking mode.

    According to IEC 61883-6, there is two way to generate AMDTP packets include no
    data in blocking mode.

    Way 1. an empty packet defined in IEC 61883-1
    - Size of packet is 2 quadlets.
    - The value of FDF is sfc.
    - The packet includes only CIP headers

    Way 2. a special non-empty packet defined in IEC 61883-6
    - Size of packet is following to blocking mode
    - The value of FDF is 0xff. This value is 'NO-DATA'. This means 'The receiver'
    must ignore all the data in a CIP with this FDF code'.
    - The packet includes dummy data.

    But current implementation is a combination of them.
    - Size of packet is 2 (way 1)
    - FDF = 0xff (way 2)
    This causes BeBoB chipset cannot sound.

    This patch applies Way 1.

    Signed-off-by: Takashi Sakamoto
    Cc: Acked-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Takashi Sakamoto
     
  • current_headset_type should be of the HEADSET_TYPE enum, not the
    HEADSET_MODE enum. Since ALC_HEADSET_TYPE_UNKNOWN and ALC_HEADSET_MODE_UNKNOWN
    are both 0, this patch is just janitorial.

    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • Some models (or maybe depending on BIOS version) of Sony VAIO with
    ALC260 give no proper pin configurations as default, resulting in the
    non-working speaker, etc. Just provide the whole pin configurations
    via a fixup.

    Reported-by: Matthew Markus
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

21 Nov, 2013

5 commits

  • …e/sound into for-linus

    ASoC: Fixes for v3.13

    A bunch of device specific fixes, nothing with a general impact here.

    Takashi Iwai
     
  • Cc: stable@vger.kernel.org (3.10+)
    BugLink: https://bugs.launchpad.net/bugs/1253636
    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • BIOS sets MISC_NO_PRESENCE bit wrongly to the pin config on NID 0x0f.

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The laptop has a built-in speaker on NID 0x1a. It's an LFE only on
    the right channel, so we need to provide an explicit chmap, too.

    There might be other surround speakers, but they can fixed in addition
    at later point, so let's fix the easier bass speaker at first.

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

    Takashi Iwai
     
  • Pull slave-dmaengine changes from Vinod Koul:
    "This brings for slave dmaengine:

    - Change dma notification flag to DMA_COMPLETE from DMA_SUCCESS as
    dmaengine can only transfer and not verify validaty of dma
    transfers

    - Bunch of fixes across drivers:

    - cppi41 driver fixes from Daniel

    - 8 channel freescale dma engine support and updated bindings from
    Hongbo

    - msx-dma fixes and cleanup by Markus

    - DMAengine updates from Dan:

    - Bartlomiej and Dan finalized a rework of the dma address unmap
    implementation.

    - In the course of testing 1/ a collection of enhancements to
    dmatest fell out. Notably basic performance statistics, and
    fixed / enhanced test control through new module parameters
    'run', 'wait', 'noverify', and 'verbose'. Thanks to Andriy and
    Linus [Walleij] for their review.

    - Testing the raid related corner cases of 1/ triggered bugs in
    the recently added 16-source operation support in the ioatdma
    driver.

    - Some minor fixes / cleanups to mv_xor and ioatdma"

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (99 commits)
    dma: mv_xor: Fix mis-usage of mmio 'base' and 'high_base' registers
    dma: mv_xor: Remove unneeded NULL address check
    ioat: fix ioat3_irq_reinit
    ioat: kill msix_single_vector support
    raid6test: add new corner case for ioatdma driver
    ioatdma: clean up sed pool kmem_cache
    ioatdma: fix selection of 16 vs 8 source path
    ioatdma: fix sed pool selection
    ioatdma: Fix bug in selftest after removal of DMA_MEMSET.
    dmatest: verbose mode
    dmatest: convert to dmaengine_unmap_data
    dmatest: add a 'wait' parameter
    dmatest: add basic performance metrics
    dmatest: add support for skipping verification and random data setup
    dmatest: use pseudo random numbers
    dmatest: support xor-only, or pq-only channels in tests
    dmatest: restore ability to start test at module load and init
    dmatest: cleanup redundant "dmatest: " prefixes
    dmatest: replace stored results mechanism, with uniform messages
    Revert "dmatest: append verify result to results"
    ...

    Linus Torvalds
     

20 Nov, 2013

15 commits


19 Nov, 2013

4 commits

  • The docking station is a Thinkpad thing, so it makes sense to check
    for mute/micmute LEDs for that quirk type too.

    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • 'snd_pcm_format_t' is used by amdtp_out_stream_set_pcm_format().

    Currently, when just including amdtp.h, compiler cannot find this type because
    this type is defined in uapi/sound/asound.h and this header is not included by
    amdtp.h.

    Signed-off-by: Takashi Sakamoto
    Signed-off-by: Takashi Iwai

    Takashi Sakamoto
     
  • Pull i2c changes from Wolfram Sang:
    - new drivers for exynos5, bcm kona, and st micro
    - bigger overhauls for drivers mxs and rcar
    - typical driver bugfixes, cleanups, improvements
    - got rid of the superfluous 'driver' member in i2c_client struct This
    touches a few drivers in other subsystems. All acked.

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (38 commits)
    i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()
    i2c: i2c-eg20t: do not print error message in syslog if no ACK received
    i2c: bcm-kona: Introduce Broadcom I2C Driver
    i2c: cbus-gpio: Fix device tree binding
    i2c: wmt: add missing clk_disable_unprepare() on error
    i2c: designware: add new ACPI IDs
    i2c: i801: Add Device IDs for Intel Wildcat Point-LP PCH
    i2c: exynos5: Remove incorrect clk_disable_unprepare
    i2c: i2c-st: Add ST I2C controller
    i2c: exynos5: add High Speed I2C controller driver
    i2c: rcar: fixup rcar type naming
    i2c: scmi: remove some bogus NULL checks
    i2c: sh_mobile & rcar: Enable the driver on all ARM platforms
    i2c: sh_mobile: Convert to clk_prepare/unprepare
    i2c: mux: gpio: use reg value for i2c_add_mux_adapter
    i2c: mux: gpio: use gpio_set_value_cansleep()
    i2c: Include linux/of.h header
    i2c: mxs: Fix PIO mode on i.MX23
    i2c: mxs: Rework the PIO mode operation
    i2c: mxs: distinguish i.MX23 and i.MX28 based I2C controller
    ...

    Linus Torvalds
     
  • Use select FW_LOADER instead of depends on. It's more intuitive and
    more consistent with other entries.

    Signed-off-by: Takashi Iwai

    Takashi Iwai