]> git.baikalelectronics.ru Git - kernel.git/commit
USB: sisusbvga: drop usb_buffer_alloc
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 10 Jun 2009 20:15:52 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:19 +0000 (06:46 -0700)
commit1782aafd4cecd5ac17eb00fbf2a0dd628a60f955
tree6976ca86c7f34663cb27aead782f37986b097734
parent592b027a0f16f523dc705dcec21ab27e282a19d3
USB: sisusbvga: drop usb_buffer_alloc

This patch falls out of my work to fix usbmon so it uses virtual addresses.
It is not necessary, the "new" usbmon should work just fine with sisusbvga.
However, it seems ridiculous that anyone would use uncached memory to
transfer bulk data. Dropping the unnecessary use of usb_buffer_alloc
should be beneficial here, in case anyone ever uses the dongle on
anything beyond x86.

I had no success in raising the author of the driver by e-mail, so
the patch is not actually tested.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb.h