request_firmware in DMA region
greg at kroah.com
Wed Mar 18 10:46:31 EDT 2020
On Wed, Mar 18, 2020 at 02:29:24PM +0000, Lucas Tanure wrote:
> I'm sending firmware to usb device with this code:
> But it`s falling because the request firmware call didn't put my firmware in
> a DMA capable area. That's my guess.
> So how to request firmware in DMA capable area?
kmalloc your buffer used for USB transfers.
Do you have a pointer to your driver anywhere? The code you show below
isn't in any kernel source that I can see.
More information about the Kernelnewbies