[alsa-devel] [PATCH -mm] sound/pci/ice1712/juli.c remove unused code
Michal Piotrowski
michal.k.k.piotrowski at gmail.com
Sun Mar 25 17:52:05 CEST 2007
This patch is against the latest -mm snapshot.
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski at gmail.com>
--- linux-work5/sound/pci/ice1712/juli.c 2007-03-25 00:31:00.000000000 +0100
+++ linux-work3/sound/pci/ice1712/juli.c 2007-03-25 14:27:33.000000000 +0200
@@ -160,13 +160,6 @@ static int __devinit juli_init(struct sn
int err;
struct snd_akm4xxx *ak;
-#if 0
- for (err = 0; err < 0x20; err++)
- juli_ak4114_read(ice, err);
- juli_ak4114_write(ice, 0, 0x0f);
- juli_ak4114_read(ice, 0);
- juli_ak4114_read(ice, 1);
-#endif
err = snd_ak4114_create(ice->card,
juli_ak4114_read,
juli_ak4114_write,
@@ -175,14 +168,7 @@ static int __devinit juli_init(struct sn
if (err < 0)
return err;
-#if 0
- /* it seems that the analog doughter board detection does not work
- reliably, so force the analog flag; it should be very rare
- to use Juli@ without the analog doughter board */
- ice->spec.juli.analog = (ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT) ? 0 : 1;
-#else
ice->spec.juli.analog = 1;
-#endif
if (ice->spec.juli.analog) {
printk(KERN_INFO "juli@: analog I/O detected\n");
More information about the Alsa-devel
mailing list