06 Oct, 2012
6 commits
-
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)//
@r1@
statement S;
position p,p1;
@@
S@p1;@p@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
//Signed-off-by: Peter Senna Tschudin
Signed-off-by: Takashi Iwai -
In commit af741c1 ("ALSA: hda/realtek - Call alc_auto_parse_customize_define()
always after fixup"), alc_auto_parse_customize_define was moved after
detection of ALC271X.The problem is that detection of ALC271X relies on spec->cdefine.platform_type,
and it's set on alc_auto_parse_customize_define.Move the alc_auto_parse_customize_define and its required fixup setup
before the block doing the ALC271X and other codec setup.BugLink: https://bugs.launchpad.net/bugs/1006690
Signed-off-by: Herton Ronaldo Krzesinski
Reviewed-by: David Henningsson
Cc:
Signed-off-by: Takashi Iwai -
The Lenovo IdeaPad U310 has an internal mic where the right channel
is phase inverted.Signed-off-by: Felix Kaechele
Cc:
Signed-off-by: Takashi Iwai -
For less duplication of code between codecs, and to make it easier
in the future to improve code for all codecs simultaneously.Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
Moving towards less duplication of code between codecs - this patch
takes some of the common code of unsol event handling and makes it
generic.Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
ASoC: Additional updates for v3.7
A couple more updates for 3.7, enhancements to the ux500 and wm2000
drivers, a new driver for DA9055 and the support for regulator bypass
mode. With the exception of the DA9055 this has all had a chance to
soak in -next (the driver was added on Friday so should be in -next
today).
28 Sep, 2012
5 commits
-
This patch adds support for Dialog semiconductor's DA9055 audio codec.
This has been tested on DA9055 EVB with Samsung SMDK6410 board.
Signed-off-by: Ashish Chavan
Signed-off-by: David Dajun Chen
Signed-off-by: Mark Brown -
Convert eukrea-tlv320 to platform driver.
Signed-off-by: Fabio Estevam
Signed-off-by: Mark Brown -
Apart from pure matching, the bindings also support setting the the
reset gpio line.Signed-off-by: Daniel Mack
Cc: Alexander Sverdlin
Signed-off-by: Mark Brown -
In some circumstances we may need to flush volume updates to the device
after switching to class W mode. Do this unconditionally to ensure that
these situations are handled.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org -
The volume update bits were being set on all but one input and one output.
Signed-off-by: Charles Keepax
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
27 Sep, 2012
5 commits
-
Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
-
The third output on WM5110 is a general purpose headphone output which can
be used to drive an earpice rather than a dedicated earpiece driver.Signed-off-by: Mark Brown
-
Some devices support additional clock rates.
Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
26 Sep, 2012
7 commits
-
The interrupt handler uses the chip state.
Signed-off-by: Mark Brown
-
We will fail to probe without one.
Signed-off-by: Mark Brown
-
We never set the GPIO from atomic context so there's no reason why we
can't support a GPIO that needs to sleep when configuring.Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
-
Allow regulators managed via DAPM to make use of the bypass support that
has recently been added to the regulator API by setting a flag
SND_SOC_DAPM_REGULATOR_BYPASS. When this flag is set the regulator will
be put into bypass mode before being disabled, allowing the regulator to
fall into bypass mode if it can't be disabled due to other users.Signed-off-by: Mark Brown
-
regulator: Bypass mode support
Allow regulators to be put into a non-regulating mode bypassing the
input straight to the output, mostly used by low power retention modes.
25 Sep, 2012
3 commits
-
According to cs4270 datasheet, there is no reference to mono mode.
Signed-off-by: Fabio Estevam
Acked-by: Timur Tabi
Signed-off-by: Mark Brown -
There is a new flags parameter for the function.
Signed-off-by: Peter Ujfalusi
Acked-by: Vinod Koul
Signed-off-by: Takashi Iwai -
With this parameter added to dmaengine_prep_dma_cyclic() the API will be in
sync with other dmaengine_prep_*() functions.
The dmaengine_prep_dma_cyclic() function primarily used by audio for cyclic
transfer required by ALSA, we use the from audio to ask dma drivers to
suppress interrupts (if DMA_PREP_INTERRUPT is cleared) when it is supported
on the platform.Signed-off-by: Peter Ujfalusi
CC: Lars-Peter Clausen
Acked-by: Vinod Koul
Signed-off-by: Takashi Iwai
23 Sep, 2012
5 commits
-
Passing struct snd_dma_buffer pointer instead, so that they work no
matter whether real SG buffer is used or not.This is a preliminary work for the HD-audio DSP loader code.
Signed-off-by: Ian Minett
Signed-off-by: Takashi Iwai -
Signed-off-by: Mark Brown
-
Signed-off-by: Mark Brown
-
ASoC: Updates for v3.7
Lots and lots of driver specific cleanups and enhancements but the only
substantial framework feature this time round is the compressed API
binding:- Addition of ASoC bindings for the compressed API, used by the mid-x86
drivers.
- Lots of cleanups and API refreshes for CODEC drivers and DaVinci.
- Conversion of OMAP to dmaengine.
- New machine driver for Wolfson Microelectronics Bells.
- New CODEC driver for Wolfson Microelectronics WM0010.
22 Sep, 2012
9 commits
-
Linux 3.6-rc6 has all our bug fixes.
Conflicts (trivial overlap):
sound/soc/omap/am3517evm.c -
When the kernel has been booted with DT blob the platform data is NULL for
the driver.
We need to construct the pdata based on the DT information for runtime use.Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
Access the pdata via a pointer within the twl4030_priv structure.
In preparation for DeviceTree support.Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
Allocate the private data with devm_kzalloc.
Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
We no longer have users for the set_hs_extmute callback which has been
replaced by hs_extmute_gpio so the codec driver can handle the external
mute if it is needed by the board.Signed-off-by: Peter Ujfalusi
Acked-by: Samuel Ortiz
Signed-off-by: Mark Brown -
Remove the use of set_hs_extmute callback and let the codec driver to
handle the extmute GPIO.Signed-off-by: Peter Ujfalusi
Acked-by: Tony Lindgren
Signed-off-by: Mark Brown -
The external mute (if it is in use) is handled by a GPIO line. Prepare to
remove the set_hs_extmute callback and replace it with:
hs_extmute_gpio: the GPIO number to use for external muteWhen the users of set_hs_extmute has been converted the callback can be removed.
Signed-off-by: Peter Ujfalusi
Signed-off-by: Mark Brown -
Add support when the kernel has been booted with DT blob. In this case the
pdata is NULL, we need to reach up to the core node and check if the codec
part has been enabled to determine if we need to coexist with the codec or
not.Signed-off-by: Peter Ujfalusi
Acked-by: Dmitry Torokhov
Signed-off-by: Mark Brown -
Support for loading the twl4030 audio module via devicetree.
Sub devices for codec and vibra will be created as mfd devices once the
core MFD driver is loaded when the kernel is booted with a DT blob.Signed-off-by: Peter Ujfalusi
Acked-by: Samuel Ortiz
Signed-off-by: Mark Brown