01 Jan, 2012

1 commit


24 Dec, 2011

1 commit


22 Dec, 2011

1 commit


19 Dec, 2011

1 commit


17 Dec, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: HDA: Use LPIB Position fix for Intel SCH Poulsbo
    ALSA: hda: fix mute led polarity for HP laptops with buggy BIOS
    ALSA: HDA: Set position fix to LPIB for an Atom/Poulsbo based device
    ASoC: Fix hx4700 error handling to free gpios if snd_soc_register_card fails
    ASoC: WM8958: correctly show firmware magic on mismatch
    ASoC: mxs: Add appropriate MODULE_ALIAS()
    ASoC: mxs: Add missing MODULE_LICENSE("GPL")
    ASoC: Fix WM8996 24.576MHz clock operation
    ASoC: Include linux/module.h for smdk2443_wm9710
    ASoC: Fix a typo in jive_wm8750
    ASoC: Fix build dependency for SND_SOC_JZ4740_CODEC
    ASoC: Include linux/io.h for jz4740 codec

    Linus Torvalds
     

15 Dec, 2011

2 commits


13 Dec, 2011

1 commit


12 Dec, 2011

3 commits


11 Dec, 2011

3 commits


10 Dec, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda/realtek - Fix lost speaker volume controls
    ALSA: hda/realtek - Create "Bass Speaker" for two speaker pins
    ALSA: hda/realtek - Don't create extra controls with channel suffix
    ALSA: hda - Fix remaining VREF mute-LED NID check in post-3.1 changes
    ALSA: hda - Fix GPIO LED setup for IDT 92HD75 codecs
    ASoC: Provide a more complete DMA driver stub
    ASoC: Remove references to corgi and spitz from machine driver document
    ASoC: Make SND_SOC_MX27VIS_AIC32X4 depend on I2C
    ASoC: Fix dependency for SND_SOC_RAUMFELD and SND_PXA2XX_SOC_HX4700
    ASoC: uda1380: Return proper error in uda1380_modinit failure path
    ASoC: kirkwood: Make SND_KIRKWOOD_SOC_OPENRD and SND_KIRKWOOD_SOC_T5325 depend on I2C
    ASoC: Mark WM8994 ADC muxes as virtual
    ALSA: hda/realtek - Fix Oops in alc_mux_select()
    ALSA: sis7019 - give slow codecs more time to reset

    Linus Torvalds
     

08 Dec, 2011

5 commits

  • When there are the same or more number of HP pins are available, HP pins
    are used as the primary outputs instead of the speaker pins. But, in
    some cases (especially with ALC663 & co), some DACs are available only
    with a later pin and it's assigned to a speaker, and since the driver
    parses the pins from the lower NID, such a DAC was skipped eventually
    without assignments. This resulted in a regression, the missing speaker
    volume control in the new parser.

    As a workaround for this, now the driver retries the pin->DAC mapping
    again after restoring the speaker-pins as primary. This is still an ad
    hoc fix, but it works so far for most of Realtek codecs.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • On systems with two speaker pins, the secondary speaker pin is mostly
    assigned to a bass speaker instead of a surround. Thus it makes more
    sense to rename the control properly.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The multiple headphone or speaker pins are usually provided to
    output the same stream unlike line-out jacks (which are supposed
    to be multi-channel surrounds). Thus giving a mixer name like
    "Headphone Surround" is rather confusing. Instead, when multiple
    headphone volumes are available, use index with the same "Headphone"
    name.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Include linux/module.h to fix below build error:
    CC sound/soc/samsung/smdk2443_wm9710.o
    sound/soc/samsung/smdk2443_wm9710.c:64: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: function declaration isn't a prototype
    sound/soc/samsung/smdk2443_wm9710.c:65: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: function declaration isn't a prototype
    sound/soc/samsung/smdk2443_wm9710.c:66: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: function declaration isn't a prototype
    make[3]: *** [sound/soc/samsung/smdk2443_wm9710.o] Error 1
    make[2]: *** [sound/soc/samsung] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Fix a typo in jive_wm8750 that introduces below build error.
    Also removes an unused err variable.

    CC sound/soc/samsung/jive_wm8750.o
    sound/soc/samsung/jive_wm8750.c: In function 'jive_wm8750_init':
    sound/soc/samsung/jive_wm8750.c:104: warning: unused variable 'err'
    sound/soc/samsung/jive_wm8750.c: At top level:
    sound/soc/samsung/jive_wm8750.c:134: error: unknown field 'dapm_widgtets' specified in initializer
    sound/soc/samsung/jive_wm8750.c:134: warning: initialization from incompatible pointer type
    make[3]: *** [sound/soc/samsung/jive_wm8750.o] Error 1
    make[2]: *** [sound/soc/samsung] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

06 Dec, 2011

7 commits

  • Takashi Iwai
     
  • Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Takashi Iwai
     
  • Some HP laptops with IDT 92HD75 codecs may use a GPIO > 4 for the mute
    LED, but currently the driver doesn't check this properly, and confuses
    the mute LED behavior. This ended up with the silent output on some
    HP laptops due to having another GPIO used as external amp control.

    This patch fixes the problem by checking the max GPIO count and
    comparing with the given value from DMI entry instead of magic fixed
    value 4 and 8, and adding a new field to indicate the VREF mute-LED
    behavior.

    Reported-and-tested-by: Vitaliy Kulikov
    Cc: [v3.1]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Currently SND_SOC_JZ4740_CODEC depends on SOC_JZ4740 but SOC_JZ4740 is not
    defined in any Kconfig. Thus the codec driver will not be built when select
    "Build all ASoC CODEC drivers".
    (Unless it is selected by SND_JZ4740_SOC_QI_LB60).
    Remove the dependency with SOC_JZ4740, then this code driver can be built when
    select "Build all ASoC CODEC drivers".

    Signed-off-by: Axel Lin
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Include linux/io.h to fix below build errors:

    CC sound/soc/codecs/jz4740.o
    sound/soc/codecs/jz4740.c: In function 'jz4740_codec_read':
    sound/soc/codecs/jz4740.c:82: error: implicit declaration of function 'readl'
    sound/soc/codecs/jz4740.c: In function 'jz4740_codec_write':
    sound/soc/codecs/jz4740.c:92: error: implicit declaration of function 'writel'
    sound/soc/codecs/jz4740.c: In function 'jz4740_codec_probe':
    sound/soc/codecs/jz4740.c:373: error: implicit declaration of function 'ioremap'
    sound/soc/codecs/jz4740.c:373: warning: assignment makes pointer from integer without a cast
    sound/soc/codecs/jz4740.c:393: error: implicit declaration of function 'iounmap'
    make[3]: *** [sound/soc/codecs/jz4740.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Allow userspace applications to do more parameter setting by providing a
    more complete stub DMA driver specifying a wildcard set of formats and
    channels and essentially random values for the DMA parameters. This is
    required for useful runtime operation of the dummy DMA driver until we
    are able to figure out how to power up links and do hw_params() from DAPM.

    Sending to stable as without this the dummy driver is not terribly
    useful.

    Reported-by: Kyung-Kwee Ryu
    Tested-by: Kyung-Kwee Ryu
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Mark Brown
     

05 Dec, 2011

3 commits

  • SND_SOC_MX27VIS_AIC32X4 selects SND_SOC_TLV320AIC32X4,
    but SND_SOC_TLV320AIC32X4 needs CONFIG_I2C.
    So we need to make SND_SOC_MX27VIS_AIC32X4 depend on I2C.
    otherwise I got below build error if CONFIG_I2C is not selected.

    CC sound/soc/codecs/tlv320aic32x4.o
    sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_read':
    sound/soc/codecs/tlv320aic32x4.c:323: error: implicit declaration of function 'i2c_smbus_read_byte_data'
    sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_probe':
    sound/soc/codecs/tlv320aic32x4.c:641: error: 'i2c_master_send' undeclared (first use in this function)
    sound/soc/codecs/tlv320aic32x4.c:641: error: (Each undeclared identifier is reported only once
    sound/soc/codecs/tlv320aic32x4.c:641: error: for each function it appears in.)
    sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_modinit':
    sound/soc/codecs/tlv320aic32x4.c:763: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/tlv320aic32x4.c: In function 'aic32x4_exit':
    sound/soc/codecs/tlv320aic32x4.c:774: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/tlv320aic32x4.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • SND_SOC_RAUMFELD selects SND_SOC_CS4270 which needs CONFIG_I2C,
    and also selects SND_SOC_AK4104 which needs SPI_MASTER.
    Thus make SND_SOC_RAUMFELD depend on I2C && SPI_MASTER.

    Add depend on SPI_MASTER to fix below build error if CONFIG_SPI_MASTER
    is not selected.

    LD .tmp_vmlinux1
    sound/built-in.o: In function `ak4104_spi_write':
    last.c:(.text+0x290cc): undefined reference to `spi_sync'
    sound/built-in.o: In function `ak4104_probe':
    last.c:(.text+0x292a0): undefined reference to `spi_write_then_read'
    sound/built-in.o: In function `ak4104_spi_probe':
    last.c:(.text+0x29398): undefined reference to `spi_setup'
    sound/built-in.o: In function `ak4104_init':
    last.c:(.init.text+0x4ec): undefined reference to `spi_register_driver'
    make: *** [.tmp_vmlinux1] Error 1

    Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
    CC sound/soc/codecs/cs4270.o
    sound/soc/codecs/cs4270.c: In function 'cs4270_i2c_probe':
    sound/soc/codecs/cs4270.c:657: error: implicit declaration of function 'i2c_smbus_read_byte_data'
    sound/soc/codecs/cs4270.c: In function 'cs4270_init':
    sound/soc/codecs/cs4270.c:730: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/cs4270.c: In function 'cs4270_exit':
    sound/soc/codecs/cs4270.c:736: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/cs4270.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    SND_PXA2XX_SOC_HX4700 selects SND_SOC_AK4641 which needs CONFIG_I2C.
    Thus make SND_PXA2XX_SOC_HX4700 depend on I2C.

    Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
    CC sound/soc/codecs/ak4641.o
    sound/soc/codecs/ak4641.c: In function 'ak4641_modinit':
    sound/soc/codecs/ak4641.c:646: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/ak4641.c: In function 'ak4641_exit':
    sound/soc/codecs/ak4641.c:656: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/ak4641.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Return proper error for uda1380_modinit if i2c_add_driver() fails.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

03 Dec, 2011

3 commits

  • SND_KIRKWOOD_SOC_T5325 selects SND_SOC_ALC5623, but SND_SOC_ALC5623 needs
    CONFIG_I2C. So we need to make SND_KIRKWOOD_SOC_T5325 depend on I2C,
    otherwise I got below build error if CONFIG_I2C is not selected.

    CC sound/soc/codecs/alc5623.o
    sound/soc/codecs/alc5623.c: In function 'alc5623_i2c_probe':
    sound/soc/codecs/alc5623.c:1002: error: implicit declaration of function 'i2c_smbus_read_word_data'
    sound/soc/codecs/alc5623.c:1009: error: implicit declaration of function 'i2c_smbus_read_byte_data'
    sound/soc/codecs/alc5623.c: In function 'alc5623_modinit':
    sound/soc/codecs/alc5623.c:1096: error: implicit declaration of function 'i2c_add_driver'
    sound/soc/codecs/alc5623.c: In function 'alc5623_modexit':
    sound/soc/codecs/alc5623.c:1108: error: implicit declaration of function 'i2c_del_driver'
    make[3]: *** [sound/soc/codecs/alc5623.o] Error 1
    make[2]: *** [sound/soc/codecs] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2

    Also fix the same issue for SND_KIRKWOOD_SOC_OPENRD.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • Since they don't actually have power bits but do have events associated
    with them it's important that we bootstrap their state properly which
    making them virtual does.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Fix S3/S4 problem on machines with VREF-pin mute-LED
    ALSA: hda_intel - revert a quirk that affect VIA chipsets
    ALSA: hda - Avoid touching mute-VREF pin for IDT codecs
    firmware: Sigma: Fix endianess issues
    firmware: Sigma: Skip header during CRC generation
    firmware: Sigma: Prevent out of bounds memory access
    ALSA: usb-audio - Support for Roland GAIA SH-01 Synthesizer
    ASoC: Supply dcs_codes for newer WM1811 revisions
    ASoC: Error out if we can't generate a LRCLK at all for WM8994
    ASoC: Correct name of Speyside Main Speaker widget
    ASoC: skip resume of soc-audio devices without codecs
    ASoC: cs42l51: Fix off-by-one for reg_cache_size
    ASoC: drop support for PlayPaq with WM8510
    ASoC: mpc8610: tell the CS4270 codec that it's the master
    ASoC: cs4720: use snd_soc_cache_sync()
    ASoC: SAMSUNG: Fix build error
    ASoC: max9877: Update register if either val or val2 is changed
    ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET

    Linus Torvalds
     

02 Dec, 2011

3 commits

  • When no imux is available (e.g. a single capture source),
    alc_auto_init_input_src() may trigger an Oops due to the access to -1.
    Add a proper zero-check to avoid it.

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • There are some AC97 codec and board combinations that have been observed
    to take a very long time to respond after the cold reset has completed.
    In one case, more than 350 ms was required. To allow users to have sound
    on those platforms, we'll wait up to 500ms for the codec to become
    ready.

    As a board may have multiple codecs, with some faster than others to
    reset, we add a module parameter to inform the driver which codecs
    should be present.

    Reported-by: KotCzarny
    Signed-off-by: David Dillow
    Cc:
    Signed-off-by: Takashi Iwai

    David Dillow
     
  • * 'fixes' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm:
    ARM: 7182/1: ARM cpu topology: fix warning
    ARM: 7181/1: Restrict kprobes probing SWP instructions to ARMv5 and below
    ARM: 7180/1: Change kprobes testcase with unpredictable STRD instruction
    ARM: 7177/1: GIC: avoid skipping non-existent PPIs in irq_start calculation
    ARM: 7176/1: cpu_pm: register GIC PM notifier only once
    ARM: 7175/1: add subname parameter to mfp_set_groupg callers
    ARM: 7174/1: Fix build error in kprobes test code on Thumb2 kernels
    ARM: 7172/1: dma: Drop GFP_COMP for DMA memory allocations
    ARM: 7171/1: unwind: add unwind directives to bitops assembly macros
    ARM: 7170/2: fix compilation breakage in entry-armv.S
    ARM: 7168/1: use cache type functions for arch_get_unmapped_area
    ARM: perf: check that we have a platform device when reserving PMU
    ARM: 7166/1: Use PMD_SHIFT instead of PGDIR_SHIFT in dma-consistent.c
    ARM: 7165/2: PL330: Fix typo in _prepare_ccr()
    ARM: 7163/2: PL330: Only register usable channels
    ARM: 7162/1: errata: tidy up Kconfig options for PL310 errata workarounds
    ARM: 7161/1: errata: no automatic store buffer drain
    ARM: perf: initialise used_mask for fake PMU during validation
    ARM: PMU: remove pmu_init declaration
    ARM: PMU: re-export release_pmu symbol to modules

    Linus Torvalds
     

01 Dec, 2011

2 commits


29 Nov, 2011

2 commits

  • This quirk sould be reverted. It has the following probems:

    1) The quirk was intended to "ASUS MV2-MX SE" motherboards only, but the
    ID used matches a much broader range, potentially all boards containing a
    VIA chipset model in the family of vendor VIA 0x1106 and audio device ID
    0x3288, which encompasses VIA-VT82xx, VIA-VT1xx and VIA-VT20xx chipsets.

    2) VIA chipsets rely on azx_via_get_position() to handle correctly dma
    transfers during capture. Using POS_FIX_LPIB instead of POS_FIX_VIACOMBO
    leads to partially corrupted input buffers during capture. The effects
    of this bug are not immediately visible, it took strong DSP expertise,
    some expensive signal generator and a spectrum analyzer to identify it
    and verify correct behaviour using original default.

    3) It's almost certain that the quirk did not fix the real problem,
    if there was one. Refer to original submission:
    http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025109.html

    Signed-of-by: Marc Vertes
    Signed-off-by: Takashi Iwai

    Marc Vertes
     
  • Some HP laptops use a pin VREF for controlling the mute LED, and such a
    pin shouldn't be powered off.

    Signed-off-by: Takashi Iwai

    Takashi Iwai