14 Feb, 2012
2 commits
-
BugLink: https://bugs.launchpad.net/bugs/930842
The reporter states that audio is inaudible by default without muting
'External Amplifier'. Add a quirk to handle his SSID so that changing
the control is not necessary.Reported-and-tested-by: Benjamin Carlson
Cc:
Signed-off-by: Daniel T Chen
Signed-off-by: Takashi Iwai -
A simple fix from Morimoto-san for the pointer() operation in the FSI
driver.
13 Feb, 2012
3 commits
-
Conflicts:
sound/pci/hda/patch_realtek.cMerged back the fix for Acer Aspire 6935 with ALC889 codec.
The fix commit was based on 3.2 kernel so that it can be applied to
stable kernel cleanly. -
Since 3.2 kernel, the driver starts trying to assign the multi-io DACs
before the speaker, thus it assigns DAC2/3 for multi-io and DAC4 for
the speaker for a standard laptop setup like a HP, a speaker, a mic-in
and a line-in. However, on Acer Aspire 6935, it seems that the
speaker pin 0x14 must be connected with either DAC1 or 2; otherwise it
results in silence by some reason, although the codec itself allows
the routing to DAC3/4.As a workaround, the connection list of each pin is reduced to be
mapped to either only DAC1/2 or DAC3/4, so that the compatible
assignment as in kernel 3.1 is achieved.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42740
Cc: [v3.2+]
Signed-off-by: Takashi Iwai -
VT1705 codec has two ADCs where the secondary ADC has no MUX but only
a fixed connection to the mic pin. This confused the driver and it
tries always overriding the input-source selection by assumption of
the existing MUX for the secondary ADC, resulted in resetting the
input-source at each time PM (including power-saving) occurs.The fix is simply to check the existence of MUX for secondary ADCs in
the initialization code.Tested-by: Anisse Astier
Cc: [v3.1+]
Signed-off-by: Takashi Iwai
09 Feb, 2012
5 commits
-
current fsi_pointer() calculation was not correct for FSI driver.
This patch fix it up.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
The new HP laptops turns off the mute LED with VREF50 or VREF80, but
not in HIZ unlike the previous models. Since VREF50 (also 80) works
with the previous models, let's use VREF50 for all.Signed-off-by: Takashi Iwai
-
A few small WM8994 updates to go on top of the previous lot of things
that were sent. They collide with some -next work so I'd really like to
get them into 3.3-rc3 if possible to merge back up into the -next code.
All driver specific and unexciting in the grand scheme of things. -
Signed-off-by: Mark Brown
-
The VMID ramp rate is supposed to be 0x3, not 11b. Fix that.
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
08 Feb, 2012
2 commits
-
The driver accidentally exchanged the left/right fields for stereo AC'97
mixer registers. This affected only the aux and CD inputs because the
line input bypasses the AC'97 codec and the mic input is mono; cards
without AC'97 (Xonar DS/DG/HDAV Slim, HG2PCI, HiFier) were not affected.Reported-and-tested-by: Abby Cedar
Signed-off-by: Clemens Ladisch
Cc: 2.6.31+
Signed-off-by: Takashi Iwai -
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
07 Feb, 2012
3 commits
-
This hardware requires same fixup for the node 0x0f like Asus A6Rp.
More information: https://bugzilla.redhat.com/show_bug.cgi?id=785417Signed-off-by: Jaroslav Kysela
Signed-off-by: Takashi Iwai -
In patch_ca0132.c, the error returned from chipio_write() isn't checked
always. Also, the power-up/down sequence isn't tracked properly in some
error paths.Reported-by: Dan Carpenter
Signed-off-by: Takashi Iwai -
The only particularly remarkable change here is the one for handling of
the Android suspend ignore code for idle_bias_off CODECs. That one is
actually a regression fix as some of the new power savings that have
been introduced confused the suspend ignore code, making devices that
are active for non-audio reasons look like they are idle causing them to
be suspended instead of being kept active.
06 Feb, 2012
3 commits
-
We can enable VMID independently of the bias in some use cases so we need
to ensure that the core device is powered up.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org -
sparse complains that "spec->multiout.dac_nids" is a pointer.
sound/pci/hda/patch_realtek.c:2321:37: error: incompatible types for operation (>)
sound/pci/hda/patch_realtek.c:2321:37: left side has type unsigned short const [usertype] *dac_nids
sound/pci/hda/patch_realtek.c:2321:37: right side has type intIt was meant to be num_dacs instead of dac_nids.
Although the current code still works as expected (when num_dacs is zero,
dac_nids should be NULL, too), better to fix now, of course.Reported-by: Dan Carpenter
Cc: David Henningsson
Signed-off-by: Takashi Iwai -
The header 'linux/moduleparam.h' is included twice in
'sound/isa/sb/emu8000_patch.c'. Once is enough.Signed-off-by: Jesper Juhl
Signed-off-by: Takashi Iwai
03 Feb, 2012
1 commit
-
The recent changes in Realtek auto-parser added the new "Bass Speaker"
and "CLFE" mixer elements which should be tracked as vmaster slaves,
too.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42720
Signed-off-by: Takashi Iwai
02 Feb, 2012
5 commits
-
Since the dynamic pin power-control and the analog low-current mode
may lead to pop-noise, it's safer to set it off as default.Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=741128
Cc: [v3.1+]
Signed-off-by: Takashi Iwai -
VIA codecs have several different power-saving features, and one of
them is the analog low-current mode. But it turned out that the ALC
mode causes pop-noises at each on/off time on some machines. As a
quick workaround, disable the ALC when another power-saving feature,
the dynamic pin power-control, is turned off, too, since the dynamic
power-control is already exposed as a mixer enum element so that user
can turn it on/off freely.Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=741128
Cc: [v3.1+]
Signed-off-by: Takashi Iwai -
The analog low-current mode must be enabled when the no stream is
running but the current detection checks it in a wrong way.Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=741128
Cc: [v3.1+]
Signed-off-by: Takashi Iwai -
Instead of always writing AC_VERB_SET_POWER_STATE, check the current
power-state and don't write again if the value is already set.
This may reduce the click noise upon the dynamic power-state change
(e.g. in analog-input mixer).Signed-off-by: Takashi Iwai
-
The second line output mixer has the controls for the line input bypasses
in the opposite order.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
01 Feb, 2012
5 commits
-
This typo caused the wrong codec's nid to be checked for wcaps type.
As a result, sometimes speakers would duplicate the output sent to
HDMI output.Cc: stable@kernel.org
BugLink: https://bugs.launchpad.net/bugs/924320
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
For master mode, set Output [X|A|V]SP_SCLK Sourcing Mode to MCLK Mode.
Signed-off-by: Axel Lin
Acked-by: Brian Austin
Signed-off-by: Mark Brown -
Signed-off-by: Susan Gao
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org -
If cs_automic is called twice (like it is during init) while the mic
is present, it will over-write the last_input with the new one,
causing it to switch back to the automic input when the mic is
unplugged. This leaves the driver in a state (cur_input, last_input,
and automix_idx the same) where the internal mic can not be selected
until it is rebooted without the mic attached.Check that the mic hasn't already been switched to before setting
last_input.Signed-off-by: Dylan Reid
Cc:
Signed-off-by: Takashi Iwai -
If an idle_bias_off device is in any state other than off then it is still
active for some reason (typically a low power function such as accessory
detection). This wasn't an issue when the feature was implemented as we
always went to _ON for any active function, subsequent power improvements
have changed things.With the modern way of doing things we should overhaul the infrastructure
to allow devices to explicitly take references for these functions but
that's a much more invasive change and will require driver updates to
deploy, this will bring the framework into line with the existing driver
set before we do that work.Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
31 Jan, 2012
5 commits
-
Now we've switched over to regmap the ASoC level cache sync will be
ineffectual and potentially harmful as there is no longer an ASoC level
cache.Signed-off-by: Mark Brown
-
The user reports that model=auto works better than current handling
on a 3.2 based kernel (with jack detection patches backported).
Since model=auto is what we prefer these days anyway, the quirk
should be removed.Alsa-info for the relevant machine:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/923316/+attachment/2702812/+files/alsa-info.txt.Pbfno2x7bpBugLink: https://bugs.launchpad.net/bugs/923316
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
If a codec has both a front and a rear Line In, two controls both
named "Line Jack" will be created, which causes parsing to fail.
While a long term solution might be to name the jacks differently,
this extra check is consistent with what is already being done in many
auto-parsers, and will also protect against other cases when two
inputs have the same label.BugLink: https://bugs.launchpad.net/bugs/923409
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
IN1L/R is routed to both line output mixers, we don't route IN1 to LINEOUT1
and IN2 to LINEOUT2.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
30 Jan, 2012
2 commits
-
It turned out that other ASUS laptops require the similar fix to
enable the VREF on the pin 0x0f for the secret output amp, not only
ASUS A6Rp. Moreover, it's required even when the pin is being used
as the output. Thus, writing a fixed value doesn't work always.This patch applies the VREF-fix for all ASUS laptops with ALC861/660
in a fixup function that checks the current value and turns on only
the VREF value no matter whether input or output direction is set.The automute function is modified as well to keep the pin VREF upon
muting/unmuting via pin-control; otherwise the pin VREF is reset at
plugging/unplugging a jack.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42588
Cc: [v3.2+]
Signed-off-by: Takashi Iwai -
The Openmoko GTA01 machine has been removed from the machine ID database,
so we need to remove references to it as well.Without that fix we have:
sound/soc/samsung/neo1973_wm8753.c: In function ‘neo1973_wm8753_init’:
sound/soc/samsung/neo1973_wm8753.c:325:2: error: implicit declaration of function ‘machine_is_neo1973_gta01’Signed-off-by: Denis 'GNUtoo' Carikli
Signed-off-by: Mark Brown
28 Jan, 2012
1 commit
-
Signed-off-by: UK KIM
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
27 Jan, 2012
2 commits
-
The user reports that he needs to add model=auto for audio to
work properly. In fact, since node 0x15 is not even a pin node,
the existing fixup is definitely wrong. Relevant information can
be found in the buglink below.Cc: stable@kernel.org (3.2+)
BugLink: https://bugs.launchpad.net/bugs/918254
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
For optimal performance the single ended line outputs require that the
line output VMID buffer be enabled.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
26 Jan, 2012
1 commit
-
The very same problem is seen on Haier W18 laptop with ALC861 as seen
on ASUS A6Rp, which was fixed by the commit 3b25eb69.
Now we just need to add a new SSID entry pointing to the same fixup.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42656
Cc: [v3.2+]
Signed-off-by: Takashi Iwai