16 Oct, 2007
40 commits
-
This patch fixes MPU-401 irq values list in documentation.
Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Routines for effect processor FX8010: Use list_for_each_entry instead
of list_for_eachSigned-off-by: Matthias Kaehlcke
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Intel HD Audio: Use list_for_each_entry(_safe) instead of
list_for_each(_safe)Signed-off-by: Matthias Kaehlcke
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ESS Maestro 1/2/2E Sound Card: Use list_for_each_entry instead of
list_for_eachSigned-off-by: Matthias Kaehlcke
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes ad1848_lib waiting loops to be the same as in the cs4231_lib.
Acked-by: Rene HermanSigned-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
sound/isa/sc6000.c: In function 'sc6000_dsp_reset':
sound/isa/sc6000.c:270: error: implicit declaration of function 'udelay' sound/isa/sc6000.c: In function 'sc6000_init_mss':
sound/isa/sc6000.c:327: error: implicit declaration of function 'msleep'
{standard input}: Assembler messages:Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds a barrier() to prevent the compiler from
moving the read outside of the loop. It also fixes a comment.Signed-off-by: Giuliano Pochini
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for the Asus M2A-VM HDMI and Abit IP35-PRO
motherboards.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
I had a request for a 4 channel mode. This should implement front
and surround outputs, leaving the 3rd plug for mic input.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When playing multichannel data, the rear channels can get distorted if
the last sample of the last played stereo stream was not zero. To avoid
this, add a hack to play a few silence samples after the stream is
stopped.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Remove some unused field from the struct cmipci_pcm, and change the type
of some others to save some space.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
When using one of the double sampling rates, use half the sample rate to
look up in the rates[] table, otherwise we stumble over the BUG().Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
By reorganizing the code that sets the CHB3DxC bits we can not only
simplify this code but also fix the bug where the CHB3D8C bit was not
reset when playing a stereo stream after a 7.1 stream.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Disallow playback of five channels because the hardware does not support
it (or nobody knows how to do it).Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Move the code that enables 96 kHz out of the if() that checks for
availability of both DMA channels so that it is enabled even when
another stream is playing on the front channels.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Initialize the registers at 0x90 and 0x91 with some undocumented values.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
When the chip is initialized, reset it.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Show a dump of all registers in the 0x00-0x27 and 0x90-0x93 ranges in
the 'cmipci' proc file.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Update comments for many register symbols, add some new register
symbols, and rename a few ones.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Use the proper value for the bit that identifies chip version 37.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Add an 'unknown' board type so that it is possible to differentiate
between unknown and generic boards.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Add a quirk to detect the MIDI port on the M-Audio Ozone Academic.
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Jaroslav Kysela
-
Remove superfluous volatile prefix in the communication struct definition.
This eventually fixes the compile warnings with the recent gcc, too.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the description of the new sc6000 driver to ALSA-Configuration.txt.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This is port of the Gallant SC-6000 driver from the OSS aedsp16 driver.
This card was also sold as AudioExcel DSP 16 and Zoltrix AV302 (Audio
Plus True 16).Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When modem is disabled in the BIOS, detection of the number of codecs
always fails after booting if STATESTS is not cleared first.
This patch fixes this problem and also adds an error check in a place
where a read error would lead to a very large number of pointless loops.Signed-off-by: Danny Tholen
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The non-linked streams couldn't be started properly due to missing
setting of stream->status.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The volume control for the CS4270 ASoC driver was inverted - raising the
volume level with alsamixer would decrease the actual volume.
This patch also improves the performance of the I2C code (used to change
register settings) by only performing an I2C write if the new value is
different from the value that's in the register cache.Signed-off-by: Timur Tabi
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch replaces long msleeps in waiting loops
with schedule_timeout() calls.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The volatile prefix is just useless there. Let's kill them, and then
gcc will be happier, too.
sound/acore/pcm.c:867: warning: passing argument 1 of ‘__constant_c_and_count_memset’ discards qualifiers from pointer target typeSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed cast messes in pcm.h.
include/sound/pcm.h: In function ‘hw_param_interval_c’:
include/sound/pcm.h:800: warning: passing argument 1 of ‘hw_param_interval’ discards qualifiers from pointer target type
Simply redefine the inline functions again for const pointers.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
While I'm at it another 'while I'm there' -- replace commented out debug
code with snd-printd{,d}.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
If I'm not mistaken, any (new) use of HZ these days is considered a bug so
while I'm there...Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When the ad1848/cs2431 is first being initialized, auto-calibration may not
be set causing a timeout waiting for it in snd_ad1848/cs4231_mce_down().
This has no dire consequences other than an alarming printk, but since what
we need to wait for is for the calibration to _finish_, let's just check for
that instead.
The early chips need a slight delay (as commented -- 5 sample periods) to be
sure that _if_ calibration is going to happen, it has started when we check
While the CS4231A datasheet implies it'll happen immediately on downing MCE,
some testing is showing that there's a window there as well, so just do the
delay everywhere.
Thanks to Krysztof Helt for pinpointing this problem.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes the code in vortex_wt_SetFrequency() to what seems to
have been intended.Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Consistent variable naming is a good thing, but let's be a little less
sneaky about enforcing it... ;-/Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Some laptop BIOS change the subsystem id for STAC9205 cards if the
microphone isn't toggled on/off in the settings.Signed-off-by: Matthew Ranostay
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
snd_ctl_elem_{read,write} no longer have any modular users
Signed-off-by: Adrian Bunk
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes white spaces and issues pointed by
the checkpatch.pl script.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela