]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/cmpci.c
Pull bugzilla-5764 into release branch
[linux-2.6-omap-h63xx.git] / sound / oss / cmpci.c
index 1fbd5137f6d74643697184304e9c99631c99df46..de60a059ff5f783c60d10127c701335d363637dc 100644 (file)
@@ -1713,7 +1713,7 @@ static int mixer_ioctl(struct cm_state *s, unsigned int cmd, unsigned long arg)
        case SOUND_MIXER_RECSRC: /* Arg contains a bit for each recording source */
                if (get_user(val, p))
                        return -EFAULT;
-               i = generic_hweight32(val);
+               i = hweight32(val);
                for (j = i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
                        if (!(val & (1 << i)))
                                continue;