usb_bulk_msg timeout w/ rvmalloc

From: paul.thacker@st.com
Date: Tue Oct 09 2001 - 19:39:33 EST


     I have written a driver which, in part, facilitates the usb bulk
     transfer of raw image data. It works fine for small (CIF, QCIF)
     images, but for larger images, kmalloc will not allocate enough
     memory.
     
     I copied the rvmalloc code from the cpia2 driver and used it in place
     of kmalloc. The memory allocates fine, but usb_bulk_msg now times out
     when using the pointer to the rvmalloc'd memory. I have been unable to
     find an instance of an existing driver using rvmalloc in conjunction
     with usb_bulk_msg.
     
     Thanks in advance for any advice. Please reply via email - I am not
     subscribed to the mailing list.
     
     Paul Thacker
     Staff Engineer II
     ST Microelectronics
     paul.thacker@st.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:28 EST