Messages in this thread | | | Date | Fri, 11 Nov 2011 08:37:40 +0000 | From | Alan Cox <> | 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@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
| |