[PATCH] mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jul 5 04:32:01 PDT 2024
Hi Piotr,
piotr.wojtaszczyk at timesys.com wrote on Fri, 5 Jul 2024 11:38:47 +0200:
> 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")
Pleae don't split the commit title over two lines.
Missing: Cc: stable.
> Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk at timesys.com>
Thanks,
Miquèl
More information about the linux-mtd
mailing list