Re: [PATCH v5] mtd: rawnand: qcom: Unmap the right resource upon probe failure

From: Miquel Raynal
Date: Fri Sep 22 2023 - 10:51:17 EST


On Wed, 2023-09-13 at 07:07:02 UTC, Bibek Kumar Patro wrote:
> We currently provide the physical address of the DMA region
> rather than the output of dma_map_resource() which is obviously wrong.
>
> Fixes: 7330fc505af4 ("mtd: rawnand: qcom: stop using phys_to_dma()")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Manivannan Sadhasivam <mani@xxxxxxxxxx>
> Signed-off-by: Bibek Kumar Patro <quic_bibekkum@xxxxxxxxxxx>

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

Miquel