summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-01-18 11:50:40 +0100
committerJaroslav Kysela <perex@suse.cz>2006-03-22 10:27:05 +0100
commit3f72a30ccfd5054c01fc3bb0d37241df5380a54c (patch)
tree95209718f6b64162cb52b57d64c071b069d3710b /sound/usb
parentcdca881d79dc4133b35db5c855b688ee9cba12a9 (diff)
downloadlwn-3f72a30ccfd5054c01fc3bb0d37241df5380a54c.tar.gz
lwn-3f72a30ccfd5054c01fc3bb0d37241df5380a54c.zip
[ALSA] snd_pcm_format_name() is no longer exported
Modules: PCM Midlevel,USB generic driver Because snd_pcm_format_name() function is used only for informational purposes, it is no longer exported from the PCM midlevel to reduce space and dependency. usbaudio module shows only numeric value for format. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/usbaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index 53009bb642f6..51a862637f20 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2029,7 +2029,7 @@ static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct s
fp = list_entry(p, struct audioformat, list);
snd_iprintf(buffer, " Interface %d\n", fp->iface);
snd_iprintf(buffer, " Altset %d\n", fp->altsetting);
- snd_iprintf(buffer, " Format: %s\n", snd_pcm_format_name(fp->format));
+ snd_iprintf(buffer, " Format: 0x%x\n", fp->format);
snd_iprintf(buffer, " Channels: %d\n", fp->channels);
snd_iprintf(buffer, " Endpoint: %d %s (%s)\n",
fp->endpoint & USB_ENDPOINT_NUMBER_MASK,