X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fremoteproc%2Fste_modem_rproc.c;h=03d69a9a3c5b733ee78d7504c8d3ba8f9db38851;hb=5fa0eb0b4d4780fbd6d8a09850cc4fd539e9fe65;hp=53dc17bdd54e0c3ef94f03a345e2d31e5a5bdfe6;hpb=c8a075ab1ecdbbe7dc883925cee44c54b535cd8d;p=linux-beck.git diff --git a/drivers/remoteproc/ste_modem_rproc.c b/drivers/remoteproc/ste_modem_rproc.c index 53dc17bdd54e..03d69a9a3c5b 100644 --- a/drivers/remoteproc/ste_modem_rproc.c +++ b/drivers/remoteproc/ste_modem_rproc.c @@ -257,7 +257,7 @@ static int sproc_drv_remove(struct platform_device *pdev) rproc_del(sproc->rproc); dma_free_coherent(sproc->rproc->dev.parent, SPROC_FW_SIZE, sproc->fw_addr, sproc->fw_dma_addr); - rproc_put(sproc->rproc); + rproc_free(sproc->rproc); mdev->drv_data = NULL; @@ -325,7 +325,7 @@ free_mem: free_rproc: /* Reset device data upon error */ mdev->drv_data = NULL; - rproc_put(rproc); + rproc_free(rproc); return err; }