android_kernel_xiaomi_sm8350/drivers/usb/mon
Alan Stern 4d6cd48380 usbmon: don't call mon_dmapeek if DMA isn't being used
This patch (as755b) fixes a bug in usbmon.  Rather than assuming all
USB host controllers use DMA, the code will check the usb_bus data
structure.  If DMA isn't used, we don't want to try peeking into a
non-existent DMA buffer!

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:56 -07:00
..
Kconfig
Makefile
mon_dma.c [PATCH] USB: update usbmon, fix glued lines 2006-06-21 15:04:17 -07:00
mon_main.c usbmon: don't call mon_dmapeek if DMA isn't being used 2006-09-27 11:58:56 -07:00
mon_stat.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
mon_text.c usbmon: don't call mon_dmapeek if DMA isn't being used 2006-09-27 11:58:56 -07:00
usb_mon.h usbmon: don't call mon_dmapeek if DMA isn't being used 2006-09-27 11:58:56 -07:00