25 Aug, 2008
20 commits
-
Check continuous pages in the buffer set up so that the number of
BDL is reduced. Also increased the max buffer size.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The errors at buffer preallocations aren't fatal and safe to ignore.
The buffer will be allocated dynamically when opened.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the continuity of allocated pages to reduce the BDL size as much
as possible so that it can use more than 1MB buffers.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Most hardwares have limited buffer-descriptor table length. This
also restricts the max buffer size of the sound driver.
For example, snd-hda-intel has 1MB buffer size limit, and this is
because it can have at most 256 BDL entries. For supporting larger
buffers, we need to allocate larger pages even for sg-buffers.This patch changes the sgbuf allocation code to try to allocate
larger pages first. At each head of the allocated pages, the
number of allocated pages is stored in the lowest bits of the
corresponding entry of the table addr field. This change isn't
visible as long as the driver uses snd_sgbuf_get_addr() helper.Also, the patch adds a new function, snd_pcm_sgbuf_get_chunk_size().
This returns the size of the chunk on continuous pages starting at
the given position offset. If the chunk reaches to a non-continuous
page, it returns the size to the boundary.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
snd_dma_alloc_pages_fallback() always tries to reduce the size in a half,
but it's not good when the given size isn't a power-of-two.
Check it first then try to align.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Clean up SG-buffer helper functions and macros. Helpers take substream
as arguments now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
It is ALSA bug #1754.
D6 bit in 02 register is PW4.Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ALC269 codec has a beep, but it was not used, so far.
Create a beep control appropriately.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Roel Kluin
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Replace snd_opl3sa2_info_xxx() with snd_wss_info_xxx().
Drop check of card->private_data which cannot be NULL
if card is not NULL (spotted by Rene Herman).Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- use specs-derived register name enums instead of open-coded numeric
values, for better understanding of things
- fix naming confusion ("gcr" was _NOT_ the GCR register stuff, but
instead the io _base_ which has multiplexed _access_ to GCR config
space, at _sub_ registers 0x08 and 0x0c)
- add FIXME comments about a race condition and MPU401 featuresSigned-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added tiwai to MAINTAINERS (per request of akpm)
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
With the restructering of the indy button handling the old OSS HAL2 driver
got broken. Since there is a new ALSA driver for HAL2, the experimental
OSS driver is obsolete and will be removed by this patch.Signed-off-by: Thomas Bogendoerfer
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
When bdl_pos_adj=0 is given, disable the position-check and the delayed
period update mechanism. Usually bdl_pos_adj=0 is set only for the
debugging purpose on really broken hardwares. It's better to disable
the extra complexity in such a case.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Mute sound by setting mute bit without
setting volume to 0. It makes both source code
and binary shorter.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the basic support of AD1882A codec chip.
It's almost compatible with AD1882, but with a digital mic and some
differences in connections.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove card pointer from the snd_opl3sa2
structure and break circular reference
snd_card->snd_opl3sa2->snd_card.Signed-off-by: Krzysztof Helt
Acked-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Set up channel information for HDMI widgets. This will allow LPCM
with multiple channels supported on some HDMI devices.TODO: It still doesn't check ELD and doesn't change PCM parameters
dynamically.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
19 Aug, 2008
1 commit
-
Signed-off-by: Ilpo Järvinen
Signed-off-by: Jaroslav Kysela
15 Aug, 2008
8 commits
-
Signed-off-by: Jaroslav Kysela
-
checkpatch.pl does not like assignment in if condition
Signed-off-by: Jaroslav Kysela
-
The dummy driver uses runtime->private_free but still frees
its pcm structures on error paths.This is esoteric because the error paths in question are
unreachable. Thus the bug is only a problem when someone
copies this code into other drivers.Signed-off-by: Daniel R Thompson
Signed-off-by: Jaroslav Kysela -
Fixed several noise issues with DACs and ADCs on some 92HD75xxx based codecs
with certain revision id's.Signed-off-by: Matthew Ranostay
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Dynamically create capture mux volume controls when a output amp is detected.
Signed-off-by: Matthew Ranostay
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the ignore_ctl_error parameter to enable/disable the control-error
handling for mixer interfaces. It was a hard-coded ifdef, and now you
can change it more easily.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing description of module parameters of usb-audio driver
to ALSA-Configuration.txt.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
14 Aug, 2008
1 commit
-
Export HDA codec subvendor ID and revision ID to user space via the
components variable. Our alsactl utility requires these values for
the perfect hardware identification.Signed-off-by: Jaroslav Kysela
13 Aug, 2008
10 commits
-
ALSA-Configuration.txt: supported cards update
Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
sound/pci: supported cards update
Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The widget node 0x21 should be initialized as unmuted/full (0dB)
as default. This will reduce additional manual work by user at the
first time use.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The SPDIF output is toggled at each time any SPDIF status bits are changed
because of the known problems on some codecs. But, this also results in
loosing the sync, and the problem is more obvious on HDMI output over
SPDIF. Since the toggle is necessary only for some codecs, we should
check whether this workaround is needed and skip if unnecessary.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
sound/pci/Kconfig: update for ice1712/24
Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
ice1724/revo: simple clean up
Signed-off-by: Alexander Beregalov
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the standard WARN() macro for snd_BUG().
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove snd_assert() completely now.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Kill snd_assert() in other places, either removed or replaced with
if () with snd_BUG_ON().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Kill snd_assert() in sound/pci/*, either removed or replaced with
if () with snd_BUG_ON().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela