25 May, 2011
2 commits
-
This patch renames add_control_to_empty() to snd_usb_mixer_add_control()
and exports it, so the quirks functions can make use of it.Also, as "struct mixer_build" is private to mixer.c, rewrite the
function to take an argument of type "struct usb_mixer_interface"
instead.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
This is needed for upcoming changes to the quirks mechanism.
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
23 May, 2011
1 commit
-
Add model=asus quirk for Lenovo Ideapad U350 to make internal mic
work correctly.Cc: stable@kernel.org (2.6.38+)
BugLink: http://bugs.launchpad.net/bugs/751681
Reported-by: Kent Baxley
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
22 May, 2011
6 commits
-
…/sound-2.6 into for-2.6.40
-
Commit 22de71b ("ASoC: core - allow ASoC more flexible machine name")
writes "(null)" to driver name string in struct snd_card if card->driver_name
is NULL. This causes segmentation faults with some user space ALSA utilities
like aplay and arecord.Fix this by using the card->name if no driver name is specified.
Signed-off-by: Jarkko Nikula
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
20 May, 2011
15 commits
-
ATI and AMD chipsets seem not providing the proper position-buffer
information, and it also doesn't provide FIFO register required by
VIACOMBO fix. It's better to use LPIB for these.Reported-by: David Henningsson
Cc:
Signed-off-by: Takashi Iwai -
This reverts commit 447ee6a7cbbfb5ae7ab8f9b8b058b4a04fe398bf.
The workaround introduced by this commit seems bogus.
The AMD chipsets don't provide proper position-buffer nor FIFO value
required by VIACOMBO fix.Signed-off-by: Takashi Iwai
-
The prototype of the inline dummy version of tegra_i2s_debug_add
was not consistent with the real version.Reported-by: Rhyland-Klein
Signed-off-by: Stephen Warren
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
MODULE_ALIAS is required so that the module will auto-load based on a
platform_device registration in the board file.While we're at it, add some other MODULE_*.
Signed-off-by: Stephen Warren
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This driver does no longer build since at least 2.6.30 and there is a
modern ALSA replacement for it. RIP, Rot In Pieces.Signed-off-by: Ralf Baechle
Signed-off-by: Takashi Iwai -
…soc-2.6 into topic/asoc
-
Signed-off-by: Wu Fengguang
Signed-off-by: Takashi Iwai -
As the "Wave", "Wave Surround" or "Front" Playback Volume must be
changed to 70% (i.e. -12 dB) so that distortion won't occur when
increase Bass and Treble from 50% to 100%, so the maximum gain in
Bass and Treble are +12 dB.Signed-off-by: Raymond Yau
Signed-off-by: Takashi Iwai -
Afer commit aa202455eec51699e44f658530728162cefa1307 , none of realtek
codec has hardware volume control "PCM Playback Volume" and
"PCM Playback Switch".As Virtual Master require all slave controls must have same number of step
and dB range.Signed-off-by: Raymond Yau
Signed-off-by: Takashi Iwai -
Compare pin type enum to the pin type and not the array index.
Fixes bug#0005368.Signed-off-by: Adrian Wilkins
Cc: (2.6.37 and later)
Signed-off-by: Takashi Iwai -
The davinci-i2s driver copies the platform data for playback and capture
sram sizes which is in turn used by davinci-pcm to allocate ping-pong
buffers.Copy also the platform data in davinci-mcasp probe.
Signed-off-by: Ben Gardiner
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
AK4641 connected via I2S and I2C, jack detection via GPIO.
Signed-off-by: Philipp Zabel
Signed-off-by: Dmitry Artamonow
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
A driver for the AK4641 codec used in iPAQ hx4700 and Glofiish M800
among others.Signed-off-by: Harald Welte
Signed-off-by: Philipp Zabel
Signed-off-by: Dmitry Artamonow
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This fixes the input layer beep not working on some EeePC 1000 models by
adding the subsystem id into whitelist. Otherwise the corresponding ALSA
mixer is not enabled and stays muted, resulting in no console beep.Signed-off-by: Madis Janson
Signed-off-by: Takashi Iwai -
AMD 8111 southbridges contain a controller for MC'97 modem. Enable support
for this controller in intel8x0m driver.Signed-off-by: Dmitry Eremin-Solenikov
Signed-off-by: Takashi Iwai
19 May, 2011
3 commits
-
Just as for headphones and microphone jacks, this patch adds reporting
of HDMI jack status through the input layer.Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai -
The xrun_log function was augmented with the in_interrupt parameter whereas the
empty macro definition used when xrun logging is disabled was not.Add a third parameter to the empty macro definition so as to not cause compiler
errors when xrun logging (CONFIG_SND_PCM_XRUN_DEBUG) is disabled.Signed-off-by: Ben Gardiner
Signed-off-by: Takashi Iwai -
Visual inspection shows that max98095_put_eq_enum() and
max98095_put_bq_enum() each have a possible NULL deref of 'pdata'.This change moves the NULL check above the use.
Signed-off-by: Taylor Hutt
Acked-by: Peter Hsiang
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
18 May, 2011
13 commits
-
When debugging pcm drivers I found the "period" or "hw" prefix printed
by either XRUN_DEBUG_PERIODUPDATE or XRUN_DEBUG_PERIODUPDATE events,
respectively to be very useful is observing the interplay between
interrupt-context updates and syscall-context updates.Similarly, when debugging overruns with XRUN_DEBUG_LOG it is useful to
see the context of the last 10 positions.Add an in_interrupt member to hwptr_log_entry which stores the value of
the in_interrupt parameter of snd_pcm_update_hw_ptr0 when the log entry
is created. Print a "[Q]" prefix when dumping the log entries if
in_interrupt was true.Signed-off-by: Ben Gardiner
Signed-off-by: Takashi Iwai -
USB X-Fi S51 Pro volume and mute from the volume knob on the unit.
Compiled and tested with 2.6.39-rc7-git12Signed-off-by: Mathieu Bouffard
Signed-off-by: Takashi Iwai -
Change power control register to default.
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai -
Compatible with ALC269.
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai -
These are compatible with ALC882 codec.
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai -
That way, the class compliant MIDI interface is also handled.
Signed-off-by: Daniel Mack
Reported-and-tested-by: Grant Diffey
Signed-off-by: Takashi Iwai -
If the interface can't report a clock's validity, assume that it's
valid.Signed-off-by: Daniel Mack
Reported-by: Vicente Joel
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Reported-by: Jeffrey Scott Flesher
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Reported-and-tested-by: Frédéric Jaume
Signed-off-by: Takashi Iwai -
This was a flaw in the reading of the spec tables - Native Instrument's
"Komplete Audio 6" device has no such extra controls.This patch also fixes the device name in two comments.
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Just in case a prototype changes, we'll be warned. This also fixes a
sparse warning.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Just defining it to nothing is dangerous as it can alter the code
execution flow, for example when used in as only function in a
conditional code block.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai