[PATCH] spi: mtk-snfi: preserve dma_mapping_error() error codes

Chuanhong Guo gch981213 at gmail.com
Mon May 2 02:43:56 PDT 2022


Hi!

On Sat, Apr 30, 2022 at 1:42 AM Dan Carpenter <dan.carpenter at oracle.com> wrote:
>
> Return -ENOMEM of there is a dma mapping error.  Do not return success.
>
> Fixes: 764f1b748164 ("spi: add driver for MTK SPI NAND Flash Interface")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Oops. Thanks for fixing that.
Reviewed-by: Chuanhong Guo <gch981213 at gmail.com>
--
Regards,
Chuanhong Guo



More information about the Linux-mediatek mailing list