ALSA: wss_lib: use wss constants instead of ad1848 ones
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 <krzysztof.h1@wp.pl> Reviewed-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
@@ -96,7 +96,7 @@ static int __devinit snd_ad1848_probe(struct device *dev, unsigned int n)
|
||||
return -EINVAL;
|
||||
|
||||
error = snd_ad1848_create(card, port[n], irq[n], dma1[n],
|
||||
thinkpad[n] ? AD1848_HW_THINKPAD : AD1848_HW_DETECT, &chip);
|
||||
thinkpad[n] ? WSS_HW_THINKPAD : WSS_HW_DETECT, &chip);
|
||||
if (error < 0)
|
||||
goto out;
|
||||
|
||||
|
Reference in New Issue
Block a user