[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 11 Nov 2011 08:37:40 +0000
From: Alan Cox <alan@...ux.intel.com>
To: Tomoya MORINAGA <tomoya.rohm@...il.com>
Cc: gregkh@...e.de, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, qi.wang@...el.com,
yong.y.wang@...el.com, joel.clark@...el.com, kok.howg.ewe@...el.com
Subject: Re: [PATCH] pch_uart: Fix DMA resource leak issue
> MODIFICATION:
> Currently, when release DMA channel resource, this driver checks
> dma-flag. However, this specification occurs the above issue.
> This driver must check whether dma_request_channel is executed or
> not. The values are saved in private data variable "chan_tx/chan_tx".
> These variables mean if the value is NULL, DMA channel is not
> requested, if not NULL, DMA channel is requested.
>
> This patch fixes the issue.
>
> Signed-off-by: Tomoya MORINAGA <tomoya.rohm@...il.com>
Acked-by: Alan Cox <alan@...ux.intel.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