Re: [PATCH] serial: samsung: Simplify DMA engine initialization code

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

 



On 12/16/2016 10:56 AM, Marek Szyprowski wrote:
> dma_request_slave_channel_compat() requires filter function and mask, which
> are not needed on device tree based platforms, so simplify the code by
> calling the more appropriate dma_request_chan() function. This additionally
> gives us proper error handling, because the new function returns error
> codes instead of NULL on failure.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux