lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>


\
 
 \ /
  Last update: 2011-11-11 09:29    [W:0.026 / U:1.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site