Changeset 130 for GPL/trunk/alsa-kernel/pci/ac97
- Timestamp:
- Jun 12, 2007, 11:32:16 PM (18 years ago)
- Location:
- GPL/trunk/alsa-kernel/pci/ac97
- Files:
-
- 2 edited
-
ac97_codec.c (modified) (2 diffs)
-
ac97_patch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/ac97/ac97_codec.c
r86 r130 1931 1931 } 1932 1932 1933 #if 0 // fixme to be gone? 1933 1934 /* stop no dev release warning */ 1934 1935 static void ac97_device_release(struct device * dev) 1935 1936 { 1936 1937 } 1938 #endif // fixme to be gone? 1937 1939 1938 1940 /* register ac97 codec to bus */ 1939 1941 static int snd_ac97_dev_register(struct snd_device *device) 1940 1942 { 1941 #if 0 1943 #if 0 // fixme to be gone? 1942 1944 struct snd_ac97 *ac97 = device->device_data; 1943 1945 int err; … … 1954 1956 return err; 1955 1957 } 1956 #endif 1958 #endif // fixme to be gone? 1957 1959 return 0; 1958 1960 } -
GPL/trunk/alsa-kernel/pci/ac97/ac97_patch.c
r86 r130 2081 2081 unsigned short val; 2082 2082 2083 if (ucontrol->value.enumerated.item[0] > 3 2084 || ucontrol->value.enumerated.item[0] < 0) 2083 // if (ucontrol->value.enumerated.item[0] > 3 // 12 Jun 07 SHL 2084 // || ucontrol->value.enumerated.item[0] < 0) // 12 Jun 07 SHL 2085 if (ucontrol->value.enumerated.item[0] > 3) 2085 2086 return -EINVAL; 2086 2087 val = ctrl2reg[ucontrol->value.enumerated.item[0]]
Note:
See TracChangeset
for help on using the changeset viewer.
