Re: [PATCH] pch_uart: Fix DMA resource leak issue

From: Alan Cox
Date: Fri Nov 11 2011 - 03:27:18 EST


> 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@xxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
--
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/