[Patch v2] mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks
Miquel Raynal
miquel.raynal at bootlin.com
Mon Jul 8 00:01:44 PDT 2024
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 at timesys.com>
> Cc: stable at vger.kernel.org
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list