09 Mar, 2014

1 commit


22 Feb, 2013

1 commit


16 Jun, 2012

1 commit

  • In sound/soc/codecs/tlv320aic3x.c

    data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);
    snd_soc_write(codec, AIC3X_PLL_PROGA_REG,
    data | (pll_p << PLLP_SHIFT));

    In the above code pll-p value is OR'ed with previous value without
    clearing it.

    Currently it seems pll-p value doesn't change across Sampling frequency
    (it stays at 1).

    However on some platforms (like AM335x EVM-SK), pll-p may have different
    values across different sampling frequencies. In such case, above code
    configures the pll with a wrong value.
    Because of this bug, when a audio stream is played with pll value
    different from previous stream, audio is heard as stretched.

    Fix the same by clearing the mask and then writing the value.

    Signed-off-by: Hebbar, Gururaja

    Hebbar, Gururaja
     

11 Jun, 2012

1 commit

  • This patch modifies the existing machine driver for am335x to suite
    EVM-SK Board configuration.
    Codec is interfaced on i2c 0 bus. Codec gets its mclk from the SOC
    (through clkout1 pin) which is derived from sysclk (24MHz).

    EVM-SK doesn't support Audio capture through TLV320AIC3X codec.

    ToDO/Issues:
    Currently "arecord -l" advertises capture devices and recording a stream
    using arecord starts but just hangs waiting for interrupt.
    This is because both Davinci mcasp and tlvaic3x codec driver advertises
    playback & capture capabilities. Instead of hacking these drivers, a
    suitable methods needs to be adapted to get proper platform data into
    these drivers and advertise capabilities accordingly.ts

    Signed-off-by: Hebbar, Gururaja

    Hebbar, Gururaja
     

09 Mar, 2012

6 commits


24 Jan, 2012

7 commits

  • This patch adds the machine driver for AM335x EVM in conformance with the new
    ASoC framework.

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Hebbar, Gururaja
     
  • AM33xx uses same McASP IP as the Davinci Platform. This patch adds
    config option to enable the McASP driver for AM335x (Kconfig & Makefile)

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Hebbar, Gururaja
     
  • FIFO should be flushed before it is enabled for the first time
    This fixes the I/O errors reported by the ASoC core on a fresh boot

    Signed-off-by: Vaibhav Bedia
    Signed-off-by: Vaibhav Hiremath

    Vaibhav Bedia
     
  • Few OMAP platform has a new Variant of McASP than those found on Davinci
    Platform.

    This patch adds support for the same.

    Changes
    - Add new MCASP_VERSION_3 to identify new IP
    - The FIFO offsets for the McASP in new platform are different from the
    ones seen on previous varianats. Use version member to identify and
    process accordingly

    This has been tested on DM365 platform to make sure nothing existing
    breaks

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Hebbar, Gururaja
     
  • parameters from isnt used anywhere. Hence removed

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Hebbar, Gururaja
     
  • Davinci McASP IP & its Driver is shared by few OMAP platforms. Moving the
    McASP ddefines to a common place, helps to share the same header file
    across platforms

    This patch moves asp.h from
    arch/arm/mach-davinci/include/mach/asp.h -> arch/arm/include/asm/hardware/asp.h

    Header define check is also updated to reflect hardware name rather than
    platform

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Vaibhav Hiremath
     
  • We have two SoCs using SRAM, both with their own allocation systems,
    and both with their own ways of copying functions into the SRAM.

    Let's unify this before we have additional SoCs re-implementing this
    obviously common functionality themselves.

    For this use the generic allocator and the newly introduce
    gen_pool_add_virt and gen_pool_virt_to_phys

    Uio_pruss should probably take the SRAM pool pointer via
    platform data so that it doesn't have to include Davinci specific
    includes.

    Signed-off-by: Russell King
    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
    Acked-by: Sekhar Nori
    Cc: Kevin Hilman
    Cc: Tony Lindgren
    Cc: Sascha Hauer

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Vaibhav Hiremath

    Jean-Christophe PLAGNIOL-VILLARD
     

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

3 commits