Merge tag 'for-5.12/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / dma / owl-dma.c
index 9fede32..1f0bbae 100644 (file)
@@ -1080,8 +1080,9 @@ static struct dma_chan *owl_dma_of_xlate(struct of_phandle_args *dma_spec,
 }
 
 static const struct of_device_id owl_dma_match[] = {
-       { .compatible = "actions,s900-dma", .data = (void *)S900_DMA,},
+       { .compatible = "actions,s500-dma", .data = (void *)S900_DMA,},
        { .compatible = "actions,s700-dma", .data = (void *)S700_DMA,},
+       { .compatible = "actions,s900-dma", .data = (void *)S900_DMA,},
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, owl_dma_match);
@@ -1245,6 +1246,7 @@ static int owl_dma_remove(struct platform_device *pdev)
        owl_dma_free(od);
 
        clk_disable_unprepare(od->clk);
+       dma_pool_destroy(od->lli_pool);
 
        return 0;
 }