summaryrefslogtreecommitdiffstats
path: root/sound/usb/proc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-30 09:46:51 +0200
committerTakashi Iwai <tiwai@suse.de>2020-03-30 09:46:51 +0200
commitaa21c3d4b941739651e77747d2f7a20a6c1d87bc (patch)
treeae46596c4fe5803fbd4746459a09a09cff5487e8 /sound/usb/proc.c
parent476c02e0b4fd9071d158f6a1a1dfea1d36ee0ffd (diff)
parent652bb5d8df4b3a79ed350db35cda12637e63efa7 (diff)
downloadlinux-aa21c3d4b941739651e77747d2f7a20a6c1d87bc.tar.bz2
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/usb/proc.c')
-rw-r--r--sound/usb/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/proc.c b/sound/usb/proc.c
index ffbf4bd9208c..4174ad11fca6 100644
--- a/sound/usb/proc.c
+++ b/sound/usb/proc.c
@@ -70,7 +70,7 @@ static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct s
snd_iprintf(buffer, " Interface %d\n", fp->iface);
snd_iprintf(buffer, " Altset %d\n", fp->altsetting);
snd_iprintf(buffer, " Format:");
- for (fmt = 0; fmt <= SNDRV_PCM_FORMAT_LAST; ++fmt)
+ pcm_for_each_format(fmt)
if (fp->formats & pcm_format_to_bits(fmt))
snd_iprintf(buffer, " %s",
snd_pcm_format_name(fmt));