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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux