]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/oxygen/hifier.c
[ALSA] oxygen: use SPDIF input only if present
[linux-2.6-omap-h63xx.git] / sound / pci / oxygen / hifier.c
index 1e54a3cd721e3b715d030a4c582c5c26b7f922b2..50551ae0b3b41ecdd790212f967aeb6bd5e47928 100644 (file)
@@ -132,11 +132,6 @@ static int hifier_control_filter(struct snd_kcontrol_new *template)
                template->tlv.p = ak4396_db_scale;
        } else if (!strcmp(template->name, "Stereo Upmixing")) {
                return 1; /* stereo only - we don't need upmixing */
-       } else if (!strcmp(template->name,
-                          SNDRV_CTL_NAME_IEC958("", CAPTURE, MASK)) ||
-                  !strcmp(template->name,
-                          SNDRV_CTL_NAME_IEC958("", CAPTURE, DEFAULT))) {
-               return 1; /* no digital input */
        }
        return 0;
 }