ALSA: hda - Move some codes up to hdac_bus struct
[deliverable/linux.git] / sound / pci / hda / hda_sysfs.c
index e13c75d6784794a5017838990b77e3b3d47c0f88..3b5ed1108f9f0d20a6d7bbf721b2d9696e325bb8 100644 (file)
@@ -552,7 +552,7 @@ static void parse_codec_mode(char *buf, struct hda_bus *bus,
 
        *codecp = NULL;
        if (sscanf(buf, "%i %i %i", &vendorid, &subid, &caddr) == 3) {
-               list_for_each_entry(codec, &bus->codec_list, list) {
+               list_for_each_codec(codec, bus) {
                        if ((vendorid <= 0 || codec->vendor_id == vendorid) &&
                            (subid <= 0 || codec->subsystem_id == subid) &&
                            codec->addr == caddr) {
This page took 0.025741 seconds and 5 git commands to generate.