Changeset 740
- Timestamp:
- Sep 18, 2022, 9:09:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/hda_intel.c
r739 r740 2112 2112 const struct pci_device_id *pci_id) 2113 2113 { 2114 #ifdef TARGET_OS2 2115 static int dev; 2116 #endif 2114 2117 struct snd_card *card; 2115 2118 struct hda_intel *hda; 2116 2119 struct azx *chip; 2117 2120 bool schedule_probe; 2121 #ifndef TARGET_OS2 2118 2122 int dev; 2123 #endif 2119 2124 int err; 2120 2125 … … 2124 2129 } 2125 2130 2131 #ifndef TARGET_OS2 2126 2132 dev = find_first_zero_bit(probed_devs, SNDRV_CARDS); 2127 if (dev >= SNDRV_CARDS) 2128 return -ENODEV; 2133 #endif 2134 if (dev >= SNDRV_CARDS){ 2135 return -ENODEV;} 2129 2136 if (!enable[dev]) { 2137 #ifdef TARGET_OS2 2138 dev++; 2139 #else 2130 2140 set_bit(dev, probed_devs); 2141 #endif 2131 2142 return -ENOENT; 2132 2143 }
Note:
See TracChangeset
for help on using the changeset viewer.
