24 Jun, 2011
5 commits
-
In the sound/ directory there are two files (flagged by 'make
versioncheck'); sound/pci/asihpi/asihpi.c and
sound/soc/codecs/wm8991.c that include linux/version.h although they
don't need it. This patch removes the unneeded includes.Signed-off-by: Jesper Juhl
Signed-off-by: Takashi Iwai -
Don't rely on the codec's channels_min information to decide wheter or
not allocate a substream's DMA buffer. Rather check if the substream
itself was allocated previously.Signed-off-by: Daniel Mack
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
- add some modules aliases
- add module license to avoid tainted kernel when loading the imx-pcm-audio
driverSigned-off-by: Arnaud Patard
Acked-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
SND_MXC_SOC_SSI looks to be unused, so kill it.
Signed-off-by: Arnaud Patard
Acked-by: Sascha Hauer
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
23 Jun, 2011
1 commit
-
BIOS lists the internal speaker as an internal line-out. Change to
internal speaker + model=auto for better auto-mute capabilities.BugLink: http://bugs.launchpad.net/bugs/754964
Reported-by: Marc Legris
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
21 Jun, 2011
4 commits
-
Create a master volume and mute control of playback for VT1718S.
Signed-off-by: Lydia Wang
Signed-off-by: Takashi Iwai -
When switch HP independent mode, mute/unmute connctions of mixer which is
connected to headphone for VT1718S.Signed-off-by: Lydia Wang
Signed-off-by: Takashi Iwai -
Remove some invalid initial verbs and correct some wrong initial verbs
for VT1718S codec.Signed-off-by: Lydia Wang
Signed-off-by: Takashi Iwai -
The "diverse" Quanta ID 0x0763 is overridden to ALC268_ACER.
This keeps headphone automute and microphone input from operating
on at least one laptop from Opti Systems.
Without the override, the BIOS parser does a fine job setting the
card up and everything works.Tested-By: Peter Schneider
Signed-off-by: Tony Vroon
Signed-off-by: Takashi Iwai
20 Jun, 2011
1 commit
-
The reporter, who is running kernel 2.6.38, reports that
he needs to set model=auto for the headphone output to work
correctly.BugLink: http://bugs.launchpad.net/bugs/761022
Cc: stable@kernel.org (v2.6.38+)
Reported-by: Jo
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
17 Jun, 2011
3 commits
-
The via driver spews warnigs like
hda-codec: no NID for mapping control Independent HP:0:0
with some codecs because snd_hda_add_nid() is called with nid=0.
This patch fixes it by skipping the call when no corresponding widget
is found.Signed-off-by: Takashi Iwai
-
Since commit 13882a82ee16 (optimize iso queueing by setting
wake only after the last packet), drivers are required to call
fw_iso_context_queue_flush() after queueing a batch of packets.
The missing call would have an effect only if the controller
queue underruns, but then the DMA would stop completely.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Fixed remaining issues of the signedness bug discovered by Dan Carpenter.
A check was remaining that tests if unsigned rt->rate is >= 0.
Changed that so that rt->rate now consistently uses ARRAY_SIZE(rates)
as invalid rate value and not -1.Signed-off-by: Torsten Schenk
Signed-off-by: Takashi Iwai
15 Jun, 2011
1 commit
-
Add missing __devinit.
Signed-off-by: Takashi Iwai
14 Jun, 2011
3 commits
-
The commit 2308f4add3de9f6c9c9f02e49461e94d84bb200a missed static inline
thus it resulted in multiple-definitions error at linking.Signed-off-by: Takashi Iwai
-
We have a double-free bug in
sound/usb/6fire/firmware.c::usb6fire_fw_ezusb_upload().
We already call release_firmware(fw) on line 258, so when we then do it
again after usb6fire_fw_ezusb_write() returns
Signed-off-by: Takashi Iwai -
This will be removed in -next so let's drop it from mainline as soon as
we can in order to minimise surprises.Signed-off-by: Mark Brown
13 Jun, 2011
6 commits
-
Using static inline functions can reduce compilation messages
and macro misuse.sound/pci/hda/patch_conexant.c: In function ‘patch_cxt5045’:
sound/pci/hda/patch_conexant.c:1232:3: warning: statement with no effectSigned-off-by: Joe Perches
Signed-off-by: Takashi Iwai -
The auto-mute setup for Acer Aspire-one with ALC268 was set wrongly
during the clean-up of auto-mute function. Fixed now.Tested-by: Borislav Petkov
Signed-off-by: Takashi Iwai -
This patch adds the necessary details to support the PCIe version of
E-MU's 0404 card.
From comparing the PCBs it seems the PCIe version just added a PCIe
chipset and left all other components pretty much in place.
For anyone intrigued to take a look at the PCB there are pictures I took
at .Signed-off-by: Florian Zeitz
Signed-off-by: Takashi Iwai -
The PCI version of the RME HDSP MADI card uses 0xcf as revision ID. Just
add this to the list of supported cards.Signed-off-by: Adrian Knoth
Signed-off-by: Takashi Iwai -
When using Word Clock on RME MADI cards, AutoSync mode was alternating
betweeen MADI and WC due to a typo: AutoSync is indicated in the second
status register (status2), not the first one (status).While the proc output was always correct, the reported WC frequency to
ALSA was unstable as mentioned inhttp://mailman.alsa-project.org/pipermail/alsa-devel/2008-March/006723.html
Signed-off-by: Adrian Knoth
Signed-off-by: Takashi Iwai -
For the MIDI part, we need to acquire (and release) the hmidi->lock,
access to the global hdspm structure is serialized through
hmidi->hdspm->lock instead.Signed-off-by: Adrian Knoth
Signed-off-by: Takashi Iwai
10 Jun, 2011
6 commits
-
BugLink: https://launchpad.net/bugs/761171
The original reporter needs the model=auto quirk for his internal
speakers to be audible in the latest daily snapshot, so add an entry in
the quirk table for his PCI SSID.A trivially different version of this patch using the model=asus quirk
should be applied to the 2.6.38 and 2.6.39 stable kernels. We don't use
the asus quirk in 3.0-rc2, because 3.0-rc2's autoparser is much
improved.Reported-and-tested-by: tomdeering7
Signed-off-by: Daniel T Chen
Signed-off-by: Takashi Iwai -
Clean up snd_printk() helper using the %pV prefix for recursive printks.
This also automagically fixes an Oops with RO/NX-enabled modules.Tested-by: Maarten Lankhorst
Signed-off-by: Takashi Iwai -
Some Reatlek model quirks use master_mute bool switch for controlling
the master-mute of outputs. For these cases, the initialization of HP
pins/amps were forgotten during the transition to the common automute
helper function in 3.0 development time, and resulted in the muted HP
output as default.This patch fixes the issue by adjusting the HP output explicitly with
master_mute switch.Tested-by: Michal Hocko
Signed-off-by: Takashi Iwai -
The tag number was forgotten to be fixed after cleaning up the model
quirks for ALC262 fujitsu and lenovo-3000 models.Tested-by: Michal Hocko
Signed-off-by: Takashi Iwai -
If DMA active status should be checked, I2SCON register should be referenced.
In this patch, Fix the incorrect referencing of I2SCON register.Reported-by : Lakkyung Jung
Signed-off-by: Sangbeom Kim
Acked-by: Jassi Brar
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org
09 Jun, 2011
3 commits
-
Currently it is possible that snd_soc_new_{mixer,mux,pga} is called with a
DAPM context not matching the widgets context. This can lead to a wrong
prefix_len calculation, which will result in undefined behaviour. To avoid
this always use the DAPM context from the widget itself.Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
The DMA (PCM) driver used by some Freescale PowerPC supports separate DAIs
for playback and capture, so DMA buffers should be allocated only for the
initialized streams. Instead of checking for the number of active channels,
which apparently is not reliable, check to see if the actual stream object
exists.Also provide a better name for the DMA interrupt.
Signed-off-by: Timur Tabi
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Reported-by: Kieran O'Leary
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
Cc: stable@kernel.org
08 Jun, 2011
1 commit
-
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
Cc: stable@kernel.org
07 Jun, 2011
4 commits
-
Fix the codec_name field of the dai_link to match the actual device name
of the codec. Otherwise the card won't be instantiated.Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
BugLink: https://launchpad.net/bugs/792712
The original reporter states that sound from the internal speakers is
inaudible until using the model=auto quirk. This symptom is due to an
existing quirk mask for 0x102802b* that uses the model=dell quirk. To
limit the possible regressions, leave the existing quirk mask but add
a higher priority specific mask for the reporter's PCI SSID.Reported-and-tested-by: rodni hipp
Cc: [2.6.38+]
Signed-off-by: Daniel T Chen
Signed-off-by: Takashi Iwai -
Signed-off-by: Lars-Peter Clausen
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
Cc: stable@kernel.org -
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood
06 Jun, 2011
2 commits
-
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood -
Signed-off-by: Mark Brown
Acked-by: Liam Girdwood