diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-03-04 13:46:14 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-05 02:18:07 -0500 |
commit | e11b4e0e4f5ab40ec342dc07b7201c09a45f9574 (patch) | |
tree | 9157d227a8bbbcff27235900c3720450cd4bed7f /sound/usb/proc.c | |
parent | e5779998bf8b70e48a6cc208c8b61b33bd6117ea (diff) |
ALSA: usb-audio: rename substream format field to altset_idx
The snd_usb_substream::format field actually contains the index of the
current alternate setting, so rename it to altset_idx to avoid
confusion.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/proc.c')
-rw-r--r-- | sound/usb/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/proc.c b/sound/usb/proc.c index be3065ea1afa..78fc3ba2522c 100644 --- a/sound/usb/proc.c +++ b/sound/usb/proc.c | |||
@@ -116,7 +116,7 @@ static void proc_dump_substream_status(struct snd_usb_substream *subs, struct sn | |||
116 | unsigned int i; | 116 | unsigned int i; |
117 | snd_iprintf(buffer, " Status: Running\n"); | 117 | snd_iprintf(buffer, " Status: Running\n"); |
118 | snd_iprintf(buffer, " Interface = %d\n", subs->interface); | 118 | snd_iprintf(buffer, " Interface = %d\n", subs->interface); |
119 | snd_iprintf(buffer, " Altset = %d\n", subs->format); | 119 | snd_iprintf(buffer, " Altset = %d\n", subs->altset_idx); |
120 | snd_iprintf(buffer, " URBs = %d [ ", subs->nurbs); | 120 | snd_iprintf(buffer, " URBs = %d [ ", subs->nurbs); |
121 | for (i = 0; i < subs->nurbs; i++) | 121 | for (i = 0; i < subs->nurbs; i++) |
122 | snd_iprintf(buffer, "%d ", subs->dataurb[i].packets); | 122 | snd_iprintf(buffer, "%d ", subs->dataurb[i].packets); |