Commit 5279f4a
mtd: rawnand: qcom: Unmap the right resource upon probe failure
We currently provide the physical address of the DMA region
rather than the output of dma_map_resource() which is obviously wrong.
Fixes: 7330fc5 ("mtd: rawnand: qcom: stop using phys_to_dma()")
Cc: [email protected]
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bibek Kumar Patro <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]1 parent 9777cc1 commit 5279f4a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3444 | 3444 | | |
3445 | 3445 | | |
3446 | 3446 | | |
3447 | | - | |
| 3447 | + | |
3448 | 3448 | | |
3449 | 3449 | | |
3450 | 3450 | | |
| |||
0 commit comments