21 Dec, 2008
1 commit
11 Dec, 2008
1 commit
-
Fixed a compile warning below:
sound/isa/sb/sb8.c: In function ‘snd_sb8_probe’:
sound/isa/sb/sb8.c:104: warning: ‘err’ may be used uninitialized in this function
by setting the return value correctly.Signed-off-by: Takashi Iwai
10 Nov, 2008
1 commit
-
gusextreme depends on opl3 support. Add the approriate select to Kconfig.
Also remove the unnecessary hwdep select.Relevant build errors:
ERROR: "snd_opl3_hwdep_new" [sound/isa/gus/snd-gusextreme.ko] undefined!
ERROR: "snd_opl3_create" [sound/isa/gus/snd-gusextreme.ko] undefined!Signed-off-by: Ville Syrjala
Signed-off-by: Takashi Iwai
03 Nov, 2008
1 commit
-
Removed the direct accesses of dev->bus_id in sound/isa/* by replacement
with dev_err() or dev_warn() functions.Signed-off-by: Takashi Iwai
09 Sep, 2008
1 commit
-
Empty files remained likely due to wrong patching.
Remove them now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
29 Aug, 2008
1 commit
-
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
25 Aug, 2008
5 commits
-
Use the wss_dout function which does not mess
shadowed register values during chip probing.
Otherwise, user ends up with stupid mixer settings
after driver loading.Signed-off-by: Krzysztof Helt
Acked-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Rene Herman
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 -
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 -
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
13 Aug, 2008
2 commits
-
Kill snd_assert() in sound/isa/*, either removed or replaced with
if () with snd_BUG_ON().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
06 Aug, 2008
16 commits
-
Make snd_ad1848_probe() easier to follow. With an exception for only
trying once as soon as the codec is out of init (which should be all
that's needed) the detection logic should be unchanged.Signed-off-by: Rene Herman
Acked-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
After the transition from cs4321_lib to wss_lib, azt2320 probe visits
snd_ad1848_probe during detection. It expects register 0 (LEFT_INPUT)
to be able to retain the value 0xaa during detection but AZT2320 does
not support MIC gain meaning it reads back as 0x8a instead.Signed-off-by: Rene Herman
Acked-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add the Techmakers MF-4236PW (Crystal CX4236B-XQ3) PnP card ID.
Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Remove initializations of spinlock and mutexes which
are done earlier in snd_wss_new(). The snd_wss_new()
is called from snd_wss_create().Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
snd-opti92x-ad1848 mistakingly passes WSS_HW_OPTI93X currently. This
fixes it as tested with a OPTi 82C929A/AD1848 card.Signed-off-by: Rene Herman
Acked-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Limit opti93x cards capture formats to only linear ones.
Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the wss detection code and kill the ad1848 library.
The library is fully assimilated into the new wss library.This required reworking of the AD1848 family code
so the code is changed to correctly detect chips from
the AD1848 and CS4231 families.I have tested it on following cards:
Gallant SC-6600 (codec: AD1848, driver: snd-sc6600)
SoundScape VIVO/90 (codec: AD1845, driver: snd-sscape)
SG Waverider (codec: CS4231A, driver: Rene Herman's snd-galaxy)
Opti930 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
Opti931 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
Gallant SC-70P (chip/codec: CS4237B, driver: snd-cs4236)
Audio Plus 3D (chip/codec: CMI8330A, driver: snd-cmi8330)
Dell Latitude CP (chip/codec: cs4236, driver snd-cs4232)Sound playback and recording works on all these cards.
Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the wss pcm code and kill the ad1848 pcm code.
The AD1848 chip is much slower than CS4231 chips
so the waiting loop was increased 100x (10x is not
enough).Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the wss mixer code and kill the ad1848 mixer code.
Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use CS4231P instead of AD1848P (kill the AD1848P).
Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the wss macros instead of ad1848 ones.
Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use wss constants for mode.
Move ad1848 hardware constants to the wss.h.
Move mixer tlv macros into the ad1848_lib.c from the ad1848.h.Drop the MODE_RUNNING spurious IRQ guard on AD1848 as it doesn not seem
to be needed.Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The snd_wss is superset of the snd_ad1848 so kill
the latter and replace it with the snd_wss.Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Rename functions and structures from the former
cs4321_lib to names more corresponding with the
new name: wss_lib.Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Rename file include/sound/cs4231.h
into include/sound/wss.hSigned-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Move the file sound/isa/cs423x/cs4231_lib.c
into sound/isa/cs423x/wss_lib.c
This is the first step toward merging all libraries
for Windows Sound System compatible chips
into a single library.Signed-off-by: Krzysztof Helt
Reviewed-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
27 Jul, 2008
1 commit
-
The acard->wss pointer is uninitialized in this function
which leads to crash during chip PNP detection.Signed-off-by: Krzysztof Helt
Acked-by: Rene Herman
Signed-off-by: Takashi Iwai
18 Jul, 2008
2 commits
-
"isapnp" needs CONFIG_PNP to be useful.
Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai -
Probing non-existing device causes Oops with snd-opti93x driver
due to NULL access in the destructor of the error path.Signed-off-by: Takashi Iwai
Tested-by: Rene Herman
Acked-by: Rene Herman
Tested-by: Ingo Molnar
Acked-by: Ingo Molnar
15 Jul, 2008
2 commits
-
Conflicts:
sound/pci/Kconfig
-
Signed-off-by: Jaswinder Singh
Signed-off-by: David Woodhouse
10 Jul, 2008
1 commit
-
Fix const to non-const pointer cast warning in wavefront_synth.c.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
23 Jun, 2008
1 commit
-
snd_assert() in save_mixer() and restore_mixer() in sb_mixer.c is
just wrong. The debug code wasn't tested at all, obviously...Signed-off-by: Takashi Iwai
13 Jun, 2008
3 commits
-
This patch converts the Opti93x driver to use
the cs4231 library instead of duplicating the code.Signed-off-by: Krzysztof Helt
Tested-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for WSS compatible Opti93x
codec to the cs4231-lib.Signed-off-by: Krzysztof Helt
Tested-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes silenced output from the Opti930.
Signed-off-by: Krzysztof Helt
Acked-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
06 Jun, 2008
1 commit
-
After the removal of the sequencer instrument layer SND_GUS_SYNTH was
no longer used.Reported-by: Robert P. J. Day
Signed-off-by: Adrian Bunk
Signed-off-by: Takashi Iwai