]> www.infradead.org Git - users/willy/xarray.git/commit
dmaengine: ep93xx: Fix a NULL vs IS_ERR() check in probe()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 13 Sep 2024 14:35:11 +0000 (17:35 +0300)
committerArnd Bergmann <arnd@arndb.de>
Mon, 16 Sep 2024 11:17:15 +0000 (11:17 +0000)
commitf3eeba0645dcb48c90f64ae6193148bf881429a8
treebfb44945f22ab017f877d8fd0f7437702f1a4259
parent7427c5b34fbe191451a48c69c392c85b648caa4f
dmaengine: ep93xx: Fix a NULL vs IS_ERR() check in probe()

This was intended to be an IS_ERR() check, not a NULL check.  The
ep93xx_dma_of_probe() function doesn't return NULL pointers.

Fixes: 4e8ad5ed845b ("dmaengine: cirrus: Convert to DT for Cirrus EP93xx")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/dma/ep93xx_dma.c