09 Mar, 2014
1 commit
22 Feb, 2013
1 commit
-
Context restore is not required when there is no loss of context which
is the case with standby.This patch adds support to check for loss of context and context restore
is done if there has been a loss of context.This reduces the overall resume latency of Standby.
Signed-off-by: ShankarMurthy, Akshay
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
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.tsSigned-off-by: Hebbar, Gururaja
09 Mar, 2012
6 commits
-
This patch currently adds pm_runtime_[put/get]_sync calls with context
save/restore feature.
This feature is yet to be tested. This Feature is only supported for
IP version = 3 (AM335x)Signed-off-by: Hebbar, Gururaja
-
Convert the mcasp driver to use runtime PM. This will use HWMOD data
which is preferred upon regular clk_[disable/enable]Signed-off-by: Hebbar, Gururaja
-
McASP device registration now uses omap_device api. This method
doesn't declare resource in order. Hence this patch replaces
platform_get_resource() with platform_get_resource_byname()Signed-off-by: Hebbar, Gururaja
-
Write FIFO register (WFIFOCTL) offset was incorrectly used in place
of Read FIFO register for McASP IP version 3. This patch corrects
the same.TODO:
1. Differentiating the IP versions at runtime if it's possibleSigned-off-by: Hebbar, Gururaja
-
This patch fixes audio resume failure. AIC3X codec driver is not
generating disable regulator event due to unknown reason.
Need to revisit the patch to find the reason and fix the same.Signed-off-by: Raj, Deepu
Signed-off-by: Hebbar, Gururaja -
During audio Rx none of the data-types need rotation in the
Receive Format Unit of the McASPSigned-off-by: Vaibhav Bedia
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 -
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 -
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 bootSigned-off-by: Vaibhav Bedia
Signed-off-by: Vaibhav Hiremath -
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 accordinglyThis has been tested on DM365 platform to make sure nothing existing
breaksSigned-off-by: Hebbar, Gururaja
Signed-off-by: Vaibhav Hiremath -
parameters from isnt used anywhere. Hence removed
Signed-off-by: Hebbar, Gururaja
Signed-off-by: Vaibhav Hiremath -
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 platformsThis patch moves asp.h from
arch/arm/mach-davinci/include/mach/asp.h -> arch/arm/include/asm/hardware/asp.hHeader define check is also updated to reflect hardware name rather than
platformSigned-off-by: Hebbar, Gururaja
Signed-off-by: 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_physUio_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 HauerSigned-off-by: Hebbar, Gururaja
Signed-off-by: Vaibhav Hiremath
01 Jan, 2012
1 commit
-
* 'fix/asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ASoC: wm8776: add missing break in sample size switch
24 Dec, 2011
1 commit
-
Broken in commit d1dc698a54259cb454284456483b45f67c865cf8
Signed-off-by: Joachim Eastwood
Signed-off-by: Mark Brown
22 Dec, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: atmel/ac97c: using software reset instead hardware reset if not available
19 Dec, 2011
1 commit
-
Signed-off-by: Bo Shen
Acked-by: Nicolas Ferre
Signed-off-by: Takashi Iwai
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
15 Dec, 2011
2 commits
-
Several people with this chipset have reported inconsistent/sloppy
values for position reporting when the DMA position buffer is used,
and that setting position_fix=1 have fixed their problems.BugLink: https://bugs.launchpad.net/bugs/825709
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
13 Dec, 2011
1 commit
-
Some HP laptop models do not have a properly filled OEM string used
to set the gpio and polarity of the mute led. Make the mute led
configuration work for this case.Signed-off-by: Gustavo Maciel Dias Vieira
Signed-off-by: Takashi Iwai
12 Dec, 2011
3 commits
-
For the Asus 1101HA, reporting position by reading the DMA position
buffer map seems unstable and often wrong. The reporter says that
position_fix=LPIB works much better (although not 100%, but this is
probably due to other issues).The controller chip is an Intel Poulsbo 8086:811b (rev 07) controller,
and complete alsa-info is available here:
https://launchpadlibrarian.net/86691768/alsa-info.txt.1TNwyE5Ea7Cc: stable@kernel.org (3.0+)
BugLink: http://bugs.launchpad.net/bugs/825709
Tested-by: Stefano Lodi
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Jonathan Neuschäfer
Signed-off-by: Mark Brown
11 Dec, 2011
3 commits
-
Signed-off-by: Lothar Waßmann
Acked-by: Wolfram Sang
Signed-off-by: Mark Brown -
The sound driver refuses to load as module, because of the missing
MODULE_LICENSE("GPL").
The file header indicates that the driver is indeed published under
the GPL.Signed-off-by: Lothar Waßmann
Acked-by: Wolfram Sang
Signed-off-by: Mark Brown -
Record the clock after the divider as that is what all SYSCLK users see.
Without this the other clock configuration in the device comes out at
half rate.Signed-off-by: Mark Brown
Cc: stable@kernel.org
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
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
-
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
-
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
-
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 2Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
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 2Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
06 Dec, 2011
3 commits
-
Signed-off-by: Takashi Iwai