[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BD228B1E3C6D7740B44C214F9AEEACE335E02F@DBDE04.ent.ti.com>
Date: Mon, 27 May 2013 09:30:49 +0000
From: "Cherian, George" <george.cherian@...com>
To: "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "Balbi, Felipe" <balbi@...com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH 1/4] usb: dwc3: gadget: free trb pool only from epnum 2
> -----Original Message-----
> From: Cherian, George
> Sent: Monday, May 27, 2013 2:36 PM
> To: linux-usb@...r.kernel.org; linux-omap@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Cc: Balbi, Felipe; gregkh@...uxfoundation.org; Cherian, George
> Subject: [PATCH 1/4] usb: dwc3: gadget: free trb pool only from epnum 2
Please read [PATCH 1/4] as [PATCH 1/1].
>
> we never allocate a TRB pool for physical endpoints
> 0 and 1 so trying to free it (a invalid TRB pool pointer)
> will lead us in a warning while removing dwc3.ko module.
>
> In order to fix the situation, all we have to do is skip
> dwc3_free_trb_pool() for physical endpoints 0 and 1 just
> as we while deleting endpoints from the endpoints list.
>
> Signed-off-by: George Cherian <george.cherian@...com>
> Signed-off-by: Felipe Balbi <balbi@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists