Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1229138

Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue

From Felipe Tonello <eu@felipetonello.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue
Date 2015-09-21 11:20 +0200
Message-ID <qb5qq-2kt-19@gated-at.bofh.it> (permalink)
References <qa7uh-Bk-3@gated-at.bofh.it> <qa7uh-Bk-5@gated-at.bofh.it> <qb5qq-2kt-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Peter,

On Mon, Sep 21, 2015 at 7:29 AM, Peter Chen <peter.chen@freescale.com> wrote:
> On Fri, Sep 18, 2015 at 06:12:40PM +0100, eu@felipetonello.com wrote:
>> From: "Felipe F. Tonello" <eu@felipetonello.com>
>>
>> _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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue eu@felipetonello.com - 2015-09-18 19:20 +0200
  Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue Felipe Tonello <eu@felipetonello.com> - 2015-09-21 11:20 +0200

csiph-web