09 Jan, 2008
1 commit
-
This reverts commit 57a04513cb35086d54bcb2cb92e6627fc8fa0fae.
Harald Dunkel reports that it broke sound for him:
"Alsa stopped working for me. I still can access /dev/dsp, change the
volume and so on, but the speakers are quiet."Reverting it fixed things for him.
Reported-and-tested-by: Harald Dunkel
Acked-by: Takashi Iwai
Acked-by: Ingo Molnar
Signed-off-by: Linus Torvalds
07 Jan, 2008
1 commit
-
not sleeping for every codec read/write but doing a short udelay and
a conditional reschedule has cut suspend+resume latency by about 1
second on my T60.The patch also fixes the unexpected codec-connection errors that
happen more often in the new power-save mode:
http://lkml.org/lkml/2007/11/8/255
http://bugzilla.kernel.org/show_bug.cgi?id=9332Signed-off-by: Ingo Molnar
Acked-by: Takashi Iwai
Signed-off-by: Linus Torvalds
21 Nov, 2007
4 commits
-
Check value ranges in ctl callbacks properly. This fixes the unexpected
crash due to wrong value assignment.
Also, remove invalid comments in the last patch.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: James Courtier-Dutton
Signed-off-by: Jaroslav Kysela -
The driver assigns the write proc callback to read wrongly.
Fixed now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Volume knob controls with STAC codecs seem to cause problems with some
devices. Volumes change very slowly or silent suddenly. It's likely
due to conflict between the software and the hardware volume knob
setup.
Since we'll have a virtual master control in future, it's safer to
remove this control completely right now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Nov, 2007
4 commits
-
Check the value ranges in ctl put callbacks properly.
Some callbacks may access a wrong pointer depending on the value passed.
Also, fixed the access to the wrong field for enum values, and fixed
some callbacks to return the proper error code.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The recent addition of checking PINCAP for EAPD seems to break some
systems due to unexpected response from the codec chip. We shouldn't
issue GET_PINCAP verb to non-PIN widgets. Now checks the widget type
before checking EAPD bit.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the definitions of the CM_FLINKON/CM_FLINKOFF register bits that
were garbled in the last 'update register definitions' patch.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
AD1986A has a hardware problem that it cannot share a stream with
multiple pins properly. The problem occurs e.g. when a volume is changed
during playback.
So far, hda-intel driver unconditionally assigns the stream to multiple
output pins in copy-front mode, and this should be avoided for AD1986A
codec.
The original fix patch was by zhejiang .Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
28 Oct, 2007
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
23 Oct, 2007
7 commits
-
dac_nids arrays in each codec support code may have up to 5 items
when assigned from the auto-configurator. Some codec codes have
less numbers than the possible max. This patch defines the constant
and fixes the array definitions.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the build error from patch_sigmatel.c when built without
CONFIG_SND_HDA_GENERIC by defining a dummy function to return error.
Also, clean up hda_codec.c by removing unneeded ifdefs (the compiler
will optimize out).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed the init verbs and added the missing volume controls so that
the driver works again with Conexant 5045 codec chip.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The addition of volume knob as Master volume resulted in conflict with
the existing one by stac92xx_auto_create_hp_ctls().
This patch fixes the conflict, and still keeps the Master control for
codecs without volume knob as much as possible.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
If the load_all option was turned on all cards would be treated as unknown,
even those which are in the database. Of course, if the card is in the
database there is no reason to use the load_all option. It's there to force
loading when the card isn't in the database. But there are out of date wikis
that say to do this and some distros might turn this option on by default.
So, we keep the load_all option from turning known cards into unknown cards.Signed-off-by: Trent Piepho
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
const and __devinit aren't a good pair, resulting in a section
mismatch error. Let's remove const as a temporary solution.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The jack detection bit on AD1986A Lenovo N100 seems inverse from
the standard definition. Now fixed the detection properly.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Oct, 2007
1 commit
-
Fix the various misspellings of "system", controller", "interrupt" and
"[un]necessary".Signed-off-by: Robert P. J. Day
Signed-off-by: Adrian Bunk
16 Oct, 2007
21 commits
-
Fixed SKU ID function for realtek codecs. It's used by the automatic
BIOS configuration mode. Now it supports the correct jack-detection
mechanism, too.Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Reported by Jan-Marek Glogowski.
The dmic array is passed to snd_hda_parse_pin_def_config() and
should be zero-terminated.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix zero-division bug in the calculation dds offset.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Reported by zhejiang
'I found that STAC_VOLKNOB hardwired the KNOB nid to 0x24.
It is okay for stac9205 and stac927x.
But the VolumeKnob nid of stac9220-9221 is 0x16.'Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Jaroslav Kysela
-
Fixed ALC262 fujitsu model to support Fujitsu Lifebook C1410 properly.
It requires EAPD and has separate int/ext mic inputs (which was missing
in the current driver).Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Shuttle AK31v2 works well with dxs_support=5 (ALSA bug#2926).
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
My bad, I forgot to update the num_items field when added a new item
to vaio_mux items table, so the last item 'PCM' disappeared.
Now it has the right number 3.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Tim Gardner
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some dB level information is wrong in pcxhr driver according to the
datasheet. Fixed now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix the output of Gateway laptops with STAC9200 codec chip.
They require the EAPD control for some pins. These pins shouldn't be
powered down.
To enable EAPD control, a new model 'gateway' was added to STAC9200.
The known PCI SSIDs are included in the quirk list.
The fix was originally suggested by Brian Hinz, in ALSA bug#2948.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added zero checks in input-mux helper functions to avoid Oops.
Some devices may have no input pins while the driver registers
control elements calling these functions.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix hda help text typo.
Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add the MCP79 support to hda driver.
The patch base on kernel 2.6.23-rc7Signed-off-by: Peer Chen
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing support for ASUS A7J [0x1043 0x1243]
Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
* Fixed ALC662 init verbs (wrong NIDs)
* Fixed ALC662 auto model issue (wrong DAC index)Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
These patches enable a few YMF743 controls (Tone/3D/IEC958) that won't
be detected with the current version of ALSA.
The second one contains following changes:
- A chip-specific SPDIF support for YMF743 (It doesn't have AC97
standard SPDIF registers seen on YMF753).
- The implementation for 'IEC958 Playback Source' and 'IEC958 Mute'
are identical to the ones for YMF753. But there is no 'IEC958 Output
Pin' for YMF743.Signed-off-by: Keita Maehara
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
These patches enable some YMF743 controls (Tone/3D/IEC958) that won't
be detected with the current version of ALSA.
The first one contains only cosmetic changes to share a few
YMF753-specific symbols with YMF743.Signed-off-by: Keita Maehara
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix schedule_timeout() use in alsa-kernel. Mostly just
schedule_timeout(1) --> schedule_timeout_uninterruptible(1)
The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main,
delete a superfluous set_current_state() and in soc/soc-dapm.c replace an
_interruptible with _uninterruptible in some debug code; it's not waiting
for signals.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela