summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-hub.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-07-07 07:28:21 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-08 21:55:09 (GMT)
commit8dec92b24064f1ffbb6537ba97729b633b400c28 (patch)
treefc1c0e88de41ef6fd29df8e068431eb67a080768 /drivers/usb/host/ehci-hub.c
parent004c19682884d4f40000ce1ded53f4a1d0b18206 (diff)
downloadlinux-8dec92b24064f1ffbb6537ba97729b633b400c28.tar.xz
USB: mon: Allow to use usbmon without debugfs
Do not bail out with an error in mon_text_init() if debugfs is not available, instead just return 0 and let mon_init() go ahead with loading the binary API. Return -ENOMEM in case debugfs_create_dir() fails for other reasons. Later, it is enough to check for mon_dir not set. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions