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

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 22 07:51:09 PDT 2023


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 at vger.kernel.org
> Reviewed-by: Manivannan Sadhasivam <mani at kernel.org>
> Signed-off-by: Bibek Kumar Patro <quic_bibekkum at quicinc.com>

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

Miquel



More information about the linux-mtd mailing list