diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/cmpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/cmpci.c b/sound/oss/cmpci.c index 1fbd5137f6d7..de60a059ff5f 100644 --- a/sound/oss/cmpci.c +++ b/sound/oss/cmpci.c | |||
@@ -1713,7 +1713,7 @@ static int mixer_ioctl(struct cm_state *s, unsigned int cmd, unsigned long arg) | |||
1713 | case SOUND_MIXER_RECSRC: /* Arg contains a bit for each recording source */ | 1713 | case SOUND_MIXER_RECSRC: /* Arg contains a bit for each recording source */ |
1714 | if (get_user(val, p)) | 1714 | if (get_user(val, p)) |
1715 | return -EFAULT; | 1715 | return -EFAULT; |
1716 | i = generic_hweight32(val); | 1716 | i = hweight32(val); |
1717 | for (j = i = 0; i < SOUND_MIXER_NRDEVICES; i++) { | 1717 | for (j = i = 0; i < SOUND_MIXER_NRDEVICES; i++) { |
1718 | if (!(val & (1 << i))) | 1718 | if (!(val & (1 << i))) |
1719 | continue; | 1719 | continue; |