[PATCH] USB: gadget zero and dma-coherent buffers
authorDavid Brownell <david-b@pacbell.net>
Fri, 20 Jan 2006 22:38:49 +0000 (14:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:44 +0000 (17:23 -0800)
commit69396dcfa3c50a6b8d2caaccf5d1496ecd5594be
tree8ff771e3d9cfdd91d19add3369234ac8f1081438
parentc02c4bb2058587d3c012ec08268fd93fdc654ae7
[PATCH] USB: gadget zero and dma-coherent buffers

This makes sure that the correct length is reported when freeing
a dma-coherent buffer; some platforms complain if that's wrong.
It also makes two parameters readonly in sysfs, as they're not
safe to change while tests are running.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/zero.c