04 Jul, 2012
1 commit
-
Pull sound fixes from Takashi Iwai:
"Just a few driver-specific fixes for ASoC and HD-audio."* tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: hda - Fix no sound from ALC662 after Windows reboot
ASoC: tlv320aic3x: Fix codec pll configure bug
ASoC: wm2200: Add missing BCLK rate
29 Jun, 2012
3 commits
-
Windows use hidden register to control EAPD.
Linux use verb to control EAPD.
If windows reboot to Linux, it must change the EAPD control to verb
control.Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai -
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. Bug is not seen if pll-p value doesn't change across
Sampling frequency.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 differently(like its
stretched).Signed-off-by: Hebbar, Gururaja
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org -
Without this very high BCLKs will be configured incorrectly.
Reported-by: Axel Lin
Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org
28 Jun, 2012
1 commit
-
Pull sound fixes from Takashi Iwai:
"Here you find quite a few changes for HD-audio and a copule of quirk
additions for USB-audio. All reasonably small and/or trivial."* tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: hda - Fix power-map regression for HP dv6 & co
ALSA: hda - Initialize caches at codec reconfiguration
ALSA: hda - Fix memory leaks at module unload
ALSA: hda - Fix memory leaks in Realtek & Conexant codec parsers
ALSA: hda - Add Realtek ALC280 codec support
ALSA: hda - Remove obsoleted CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS
ASoC: wm8994: remove duplicate code
ALSA: usb-audio: add BOSS GT-100 support
ALSA: HDA: Add inverted internal mic quirk for Lenovo S205
ALSA: hda - Fix ALC272X codec detection
ALSA: snd_usb_audio: ignore ctrl errors on QuickCam Pro for Notebooks
ALSA: snd_usb_audio: ignore ctrl errors on QuickCam E3500
26 Jun, 2012
6 commits
-
The recent fix for power-map controls (commit b0791dda813) caused
regressions on some other HP laptops. They have fixed pins but these
pins are exposed as jack-detectable. Thus the driver tries to control
the power-map dynamically per jack detection where it never gets on.This patch adds the check of connection and it assumes the no jack
detection is available for fixed pins no matter what pin capability
says.BugLink: http://bugs.launchpad.net/bugs/1013183
Reported-by: Luis Henriques
Signed-off-by: Takashi Iwai -
Better to clean up the caches for avoiding inconsistent codec state
after the reconfiguration.Signed-off-by: Takashi Iwai
-
Some caches aren't released properly at module unloading time.
Cc: [v3.4+]
Signed-off-by: Takashi Iwai -
When moved to the helper code, forgot to release the verb arrays.
Signed-off-by: Takashi Iwai
-
Pull media fixes from Mauro Carvalho Chehab.
Trivial conflict due to new USB HID ID's being added next to each other
(Baanto vs Axentia).* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (44 commits)
[media] smia: Fix compile failures
[media] Fix VIDIOC_DQEVENT docbook entry
[media] s5p-fimc: Fix control creation function
[media] s5p-mfc: Fix checkpatch error in s5p_mfc_shm.h file
[media] s5p-mfc: Fix setting controls
[media] v4l/s5p-mfc: added image size align in VIDIOC_TRY_FMT
[media] v4l/s5p-mfc: corrected encoder v4l control definitions
[media] v4l: mem2mem_testdev: Fix race conditions in driver
[media] s5p-mfc: Bug fix of timestamp/timecode copy mechanism
[media] cxd2820r: Fix an incorrect modulation type bitmask
[media] em28xx: Show a warning if the board does not support remote controls
[media] em28xx: Add remote control support for Terratec's Cinergy HTC Stick HD
[media] USB: Staging: media: lirc: initialize spinlocks before usage
[media] Revert "[media] media: mx2_camera: Fix mbus format handling"
[media] bw-qcam: driver and pixfmt documentation fixes
[media] cx88: fix firmware load on big-endian systems
[media] cx18: support big-endian systems
[media] ivtv: fix support for big-endian systems
[media] tuner-core: return the frequency range of the correct tuner
[media] v4l2-dev.c: fix g_parm regression in determine_valid_ioctls()
... -
This chip looks very similar to ALC269 and ALC27* variants. The bug reporter
has verified that sound was working after this patch had been applied.Cc: stable@kernel.org
BugLink: https://bugs.launchpad.net/bugs/1017017
Tested-by: Richard Crossley
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
25 Jun, 2012
3 commits
-
I simply forgot to remove this entry although all Realtek quirks have
been dropped.Signed-off-by: Takashi Iwai
-
It seems that the code duplication was added at a merge operation.
Signed-off-by: Jaroslav Kysela
Signed-off-by: Takashi Iwai -
Reported-by: John McFarland
Tested-by: John McFarland
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
21 Jun, 2012
2 commits
-
The Lenovo Ideapad S205 has an internal mic where the right channel
is phase inverted.BugLink: https://bugs.launchpad.net/bugs/884652
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
The codec ALC272X is a special codec for some Dell machines, and its
detection got broken in the recent kernel because SSID check (required
by ALC272X check) was moved to the later point. Now we need to move
this codec check to the right place, too.Signed-off-by: Takashi Iwai
20 Jun, 2012
2 commits
-
This webcam works mostly ok, exept with skype.
Skype sends lots of ctrl messages to dynamically ajust
record level. If for some reasons it pokes some error
every thing goes broken:
- first pulseaudio blocks sound for all apps
- then video is reseted
- then skype freezdmesg has lots of messages like:
cannot set freq 16000 to ep 0x86"Setting ignore_ctl_error=1 fixes this problem.
Signed-off-by: Oleksij Rempel
Signed-off-by: Takashi Iwai -
if this cam is pluged in, pulse audio can't initiate capture
device.
dmesg has lots of messages like:
"cannot set freq 16000 to ep 0x86"Setting ignore_ctl_error=1 fixes this problem.
Signed-off-by: Oleksij Rempel
Signed-off-by: Takashi Iwai
18 Jun, 2012
5 commits
-
Signed-off-by: Daniel Mack
Cc: Torsten Schenk
Signed-off-by: Takashi Iwai -
This addresses an issue encountered when a pcm is opened while
transitioning to low power state (codec->power_on == 1 &&
codec->power_transition == -1). Add snd_pcm_power_up_d3wait to
hda_codec. This function is used to power up from azx_open as opposed
to snd_hda_power_up used from codec_exec_verb. When powering up from
azx_open, wait for pending power downs to complete, avoiding the power
up continuing in parallel with the power down on the work queue.The specific issue seen was with the CS4210 codec, it powers off the ADC
and DAC nid in its suspend handler. If it is re-opened before the
~100ms power down process completes, the ADC and DAC nid are initialized
while powered down and audio is lost until another suspend/resume cycle.Signed-off-by: Dylan Reid
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Fix a bogus sanity check for sync pipe in pcm.c. This flaw was
introduced during the streaming logic refactorization.While at it, improve the error messages that are generated in such cases.
Signed-off-by: Daniel Mack
Reported-and-tested-by:
Signed-off-by: Takashi Iwai -
ASoC: Updates for 3.5
All driver specific and fairly small. The pxa-ssp changes are larger
than I'd like but they're build failures and are pretty clear to
inspection.
13 Jun, 2012
1 commit
-
During the split to the auto-parser helper functions, the actual call
of init verbs was lost.Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43366
Signed-off-by: Takashi Iwai
12 Jun, 2012
7 commits
-
Pin 0x1b was connected to the front panel connector, which according to
the HDA standard should contain a mic and a headphone. In this case,
the headphone was listed as "line out" by BIOS.Cc: stable@kernel.org
BugLink: https://bugs.launchpad.net/bugs/993162
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
as the start can be called after stop again, we need to reset state
Signed-off-by: Namarta Kohli
Signed-off-by: Vinod Koul
Signed-off-by: Takashi Iwai -
during pause the core should maintain the status-quo on the device and pointers
and not wake up. If app needs it should call DROP explcitly.Signed-off-by: Namarta Kohli
Signed-off-by: Vinod Koul
Signed-off-by: Takashi Iwai -
If mic detect is left enabled and the WM8903 detects a status change,
the WM8903 driver will make a callback against the free()d jack, which
will cause a crash.This problem can be triggered by fully initializing an audio card, then
removing and re-inserting the machine driver module.Signed-off-by: Stephen Warren
Signed-off-by: Mark Brown -
Signed-off-by: Hans de Goede
CC: Ondrej Zary
Signed-off-by: Mauro Carvalho Chehab -
Before this patch the owner field of the /dev/radio# device fops was set to
the snd-tea575x-tuner module itself. Meaning that the module which was using
it could be rmmod-ed while the device is open, and then BAD things happen.I know, as I found out the hard way :)
Note that there is no need to also somehow increase the refcount of the
snd-tea575x-tuner module itself, since any drivers using it will have
symbolic references to it.Signed-off-by: Hans de Goede
CC: Ondrej Zary
Signed-off-by: Mauro Carvalho Chehab -
My EU/US 5757 cannot tune below approx 86 Mhz, that is below that it
does not even generate the standard not tuned to anything radio noise anymore,
so clearly the 5757 cannot tune to the Japanese frequencies. This patch
assumes that likewise the 5759 cannot tune to the EU/US frequencies.Signed-off-by: Hans de Goede
CC: Ondrej Zary
Signed-off-by: Mauro Carvalho Chehab
11 Jun, 2012
7 commits
-
The PCI ID entries of Creative SoundCore3D HD-audio controllers should
be before the wildcard for vendor = Creative.Signed-off-by: Takashi Iwai
-
Otherwise we might try to write to a powered off device.
Signed-off-by: Mark Brown
-
If we don't have control over the LDO but do have control over the other
regulators then we may end up trying to write to a powered off device.Signed-off-by: Mark Brown
-
We're using demv_regulator_bulk_get() so don't need to manually free and
this is in the CODEC driver not the I2C driver anyway.Signed-off-by: Mark Brown
-
We should be using the regmap API consistently for all the cache only
configuration and we should be going cache only before we power down
the supplies.Signed-off-by: Mark Brown
-
We no longer have a flat ASoC cache so can't peer directly into the array
any more but should instead use the register I/O functions to update the
cache.Signed-off-by: Mark Brown
Cc: stable@vger.kernel.org (v3.4) -
pxa-ssp.c uses API like cpu_is_pxa3xx(), cpu_is_pxa2xx(), which is
defined under arch-pxa architecture, and drivers under mach-mmp
can't find it. so just use ssp->type to replace that API.Signed-off-by: Qiao Zhou
Acked-by: Haojian Zhuang
Signed-off-by: Mark Brown
08 Jun, 2012
2 commits
-
When VGA_SWITCHEROO support is enabled hda_intel initialises the HDMI
audio device on the current VGA device. When it's not enabled it only
initialises the HDMI device on the default VGA adaptor, this means
secondary cards get no audio support which is very unhelpful for
multi-seat!With this patch, when SUPPORT_VGA_SWITCHEROO is disabled hda_intel
initialises all HDMI audio devices, not just the default VGA.[minor optimizations by tiwai]
Signed-off-by: Steven Newbury
Signed-off-by: Takashi Iwai -
When VGA-switcheroo is built in but unused on systems with multiple
graphics cards, the initializations of non-default graphics cards are
skipped and never enabled (because the switcheroo is activated only
when the controller supports). The current behavior is for avoiding
the system lockup by accessing the disabled GPU, but due to the recent
change in VGA-switcheroo, it determines the state simply by checking
with the default VGA device. This is the culprit.Now with the new vga_switcheroo_get_client_state(), we can know the
initial state of the bound GPU, thus can determine the initial audio
client state more correctly.Signed-off-by: Takashi Iwai