[bug report] mtd: rawnand: cadence: use dma_map_resource for sdma address
Dan Carpenter
dan.carpenter at linaro.org
Thu Feb 13 01:50:34 PST 2025
On Thu, Feb 13, 2025 at 07:33:49AM +0000, Rabara, Niravkumar L wrote:
>
> I missed this.
> I will add a NULL check before the dma_unmap_resource()
>
> if (cdns_ctrl->dmac)
> dma_unmap_resource(cdns_ctrl->dmac->device->dev, cdns_ctrl->io.iova_dma,
> cdns_ctrl->io.size, DMA_BIDIRECTIONAL, 0);
>
> Shall I submit a new version of this patch?
> Do I need to include any additional tag or info?
I don't really know how it's handled in mtd.
Generally, I would send a patch just to fix the bug. You would want to
have a Fixes tag and a Reported-by tag. Some subsystems fold fixes into
the original commit before sending and some don't. Either way, the
maintainer can figure it out.
regards,
dan carpenter
More information about the linux-mtd
mailing list