10 Jan, 2011
28 commits
-
Apparently, the revision is 2 on all sold sound cards, so this
information is not actually useful.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add a mixer control to select between the on-board and extension board
S/PDIF inputs for the X-Meridian (2G).Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add a mixer control to prevent capturing S/PDIF samples that are not
marked as valid (non-audio or corrupted samples).Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add entries for the remaining drivers that I'm maintaining.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add support for the 24-bit audio I/Os of the Edirol SD-90 interface.
Reported-any-tested-by: Jim Grusendorf
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Simplify info callbacks by using the snd_ctl_enum_info() helper function.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Simplify the info callback by using the snd_ctl_enum_info() helper function.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Simplify info callbacks by using the snd_ctl_enum_info() helper function.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Simplify the info callback by using the snd_ctl_enum_info() helper function.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Introduce the helper function snd_ctl_enum_info() to fill out the
elem_info fields for an enumerated control.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add experimental support for the Asus Xonar HDAV1.3 Slim sound card.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add experimental support for the Asus Xonar DG sound card.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add support for the AuzenTech X-Meridian 7.1 2G sound card.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add PCI IDs for some unknown models.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
For the CSxxxx and AKxxxx DAC/ADC chips, the MCLK factor in double rate
modes (64-96 kHz) can be reduced to 128x without reducing sound quality.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Replace the get_i2s_mclk callback with tables of MCLK values. This
simplifies the MCLK-handling code in both the framework and the model-
specific drivers.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Do not apply the headphone gain offset to any but the front DAC. These
DACs would not be used in headphone mode, so this saves a few register
writes.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Remove the DAC Oversampling mixer control because this setting does not
make much sense.For cards with the H6 daughterboard, 128x oversampling was disabled
anyway because these high MCLK frequency would not be compatible with
the connector cable.For cards without the H6 daughterboard, 128x gives a slightly higher
output quality; there is no reason to reduce it to 64x except for saving
power, but then these cards have not been designed to be power efficient
anyway (the D2's blinkenlights cannot be disabled).Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Because of the unshielded connector cable, it is important to use as low
a master clock frequency as possible with the H6.For double rate modes (64-96 kHz), the MCLK rate is unconditionally
lowered from 512x to 256x because the higher rate would not improve
anything.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
The clock output of the CS2000, which is used as master clock for the
DACs, was using half the actual master clock frequency for some reason.
Using the theoretically correct frequency seems also to work in practice.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
On the Xonar Essence ST Deluxe, remove all mixer controls that would
require I2C communication with the third DAC, which does not work
because of an addressing conflict with the CS2000 chip.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Change the PCM format used for the PCM1796 from left-justified to I2S to
ensure that the correct format is used even for the Essence ST Deluxe's
center/LFE DAC, where I2C does not work because of an address conflict
with the CS2000 chip.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
The PCM1796 needs the master clock for I2C communication to work, so
add delays after clock changes to ensure that the clock is stable when
we try to write the DACs' registers.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
To make the I2C communication reliable when using the H6 daughterboard,
reduce the I2C clock frequency.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Fix wrong register bits for SPI clock cycle times longer than 160 ns,
and adjust the polling loop timeout for these speeds.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
The number of DACs can now be deduced from the dac_channels_mixer field,
so the private_data field is no longer needed.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
For cards like the Xonar HDAV1.3, differentiate between the number of
PCM channels that can be played and the number of channels whose volume
can be adjusted.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
snd_pcm_hw_param_near() will leak the memory allocated to 'save' if the
call to snd_pcm_hw_param_max() returns less than zero.
This patch makes sure we never leak.Signed-off-by: Jesper Juhl
Signed-off-by: Takashi Iwai
02 Jan, 2011
6 commits
-
- add some WARN_ONCE
- add multi-I/O helper (and use helper struct)
- fix off-by-1 DMA length bug
- better variable namingSigned-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai -
- much improved implementation due to clean codec hierarchy
- preparation for potential per-codec spinlock changeNOTE: additionally removes a chip->pcm[codec_type] NULL ptr check
(due to it requiring access to external chip struct),
however I believe this to be ok since this condition should not occur
and most drivers don't check against that either.Signed-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai -
Signed-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai -
Signed-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai -
- use a separate variable for the frequency part, don't always "or" it
- use a "clever"(?) macro to shorten the codeSigned-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai -
- correct samples to be POSIX shell compatible
- add logging of jiffies value in _pointer()
- several comments
- cleanupSigned-off-by: Andreas Mohr
Signed-off-by: Takashi Iwai
14 Dec, 2010
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Takashi Iwai
13 Dec, 2010
2 commits
-
flush_scheduled_work() is deprecated and scheduled to be removed.
* cancel[_delayed]_work() + flush_scheduled_work() ->
cancel[_delayed]_work_sync().* wm8350, wm8753 and soc-core use custom code to cancel a delayed
work, execute it immediately if it was pending and wait for its
completion. This is equivalent to flush_delayed_work_sync(). Use
it instead.Signed-off-by: Tejun Heo
Acked-by: Mark Brown
Signed-off-by: Takashi Iwai
10 Dec, 2010
1 commit
-
It does not make sense to set clientdata to onyx in onyx_i2c_remove()
as we are going to kfree onyx.
What we really want here is i2c_set_clientdata(client, NULL);
Since the i2c core will take care of it now, so this patch just removes it.Signed-off-by: Axel Lin
Signed-off-by: Takashi Iwai
09 Dec, 2010
1 commit
-
Rev. E of the M-Audio Delta 66 is partially supported (commit
ef2cd2ccad66b4aba518eca7514eface267ee0f3), but the layout of the GPIO
pins was still unclear. This patch adds the GPIO definitions so that
communication to the CS8247 & 2x AK4524 works correctly.ALSA bug#3327 has more details; users cap & jhunt report there that the
GPIO wiring is similar to the Digigram VX442 (chip select: pin 4 =
CS8427, pin 5 = AK4524 #0, pin 6 = AK4524 #1). There has been a lot of
conflicting information in the bug, but given these definitions, my
Delta 66E works; I tested analog in&out at 44.1kHz & 96kHz, analog gain
settings, S/PDIF clock sync, and S/PDIF in&out at 44.1kHz.Signed-off-by: Brian Bloniarz
Signed-off-by: Takashi Iwai
07 Dec, 2010
1 commit