Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue
From: Felipe Tonello
Date: Mon Sep 21 2015 - 05:17:13 EST
Hi Peter,
On Mon, Sep 21, 2015 at 7:29 AM, Peter Chen <peter.chen@xxxxxxxxxxxxx> wrote:
> On Fri, Sep 18, 2015 at 06:12:40PM +0100, eu@xxxxxxxxxxxxxxxxx wrote:
>> From: "Felipe F. Tonello" <eu@xxxxxxxxxxxxxxxxx>
>>
>> _ep_queue() didn't check for errors when using add_td_to_list()
>> which can fail if dma_pool_alloc fails, thus causing a kernel
>
> Would you find the root cause why dma_pool_alloc fails?
Partially. For some reason the udc_irq() is not been called after a
f_midi_transmit(). I am looking into that.
Felipe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/