Re: [Patch v2] mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks

From: Miquel Raynal
Date: Mon Jul 08 2024 - 03:02:11 EST


On Fri, 2024-07-05 at 11:51:35 UTC, Piotr Wojtaszczyk wrote:
> The dma_request_chan() returns error pointer in case of error, while
> dma_request_channel() returns NULL in case of error therefore different
> error checks are needed for the two.
>
> Fixes: 7326d3fb1ee3 ("mtd: rawnand: lpx32xx: Request DMA channels using DT entries")
> Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@xxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel