diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-17 02:51:11 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-17 10:23:55 +0200 |
commit | a5f8661df0190f206ec73bd42b756d889c16150d (patch) | |
tree | 3dbdfd1f822cd20e9e63da66bfaf127e4afd974b /sound/usb/usx2y/us122l.c | |
parent | ALSA: firewire-tascam: support drain callback for MIDI playback substream (diff) | |
download | linux-a5f8661df0190f206ec73bd42b756d889c16150d.tar.xz linux-a5f8661df0190f206ec73bd42b756d889c16150d.zip |
ALSA: usb-audio: replace /proc/bus/usb by /dev/bus/usb
The /proc/bus/usb devices don't exist anymore, since when we
got rid of usbfs. Those devices are now seen at
/dev/bus/usb.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usx2y/us122l.c')
-rw-r--r-- | sound/usb/usx2y/us122l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usx2y/us122l.c b/sound/usb/usx2y/us122l.c index cf45bf1f7ee0..e118bdca983d 100644 --- a/sound/usb/usx2y/us122l.c +++ b/sound/usb/usx2y/us122l.c @@ -472,7 +472,7 @@ static int usb_stream_hwdep_new(struct snd_card *card) hw->ops.mmap = usb_stream_hwdep_mmap; hw->ops.poll = usb_stream_hwdep_poll; - sprintf(hw->name, "/proc/bus/usb/%03d/%03d/hwdeppcm", + sprintf(hw->name, "/dev/bus/usb/%03d/%03d/hwdeppcm", dev->bus->busnum, dev->devnum); return 0; } |