From: Dronamraju Santosh P K Date: Fri, 28 Jul 2017 10:42:14 +0000 (+0530) Subject: ASoC: Intel: bxtn: Remove code loader reference in cleanup X-Git-Tag: v4.14-rc4~21^2~23^2~17^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fbbcf4dadb6c01d6411bac715a7448f96c3724c;p=platform%2Fkernel%2Flinux-rpi.git ASoC: Intel: bxtn: Remove code loader reference in cleanup Since Broxton does not use code loader DMA, remove code loader cleanup in its dsp cleanup routine. Remove the iounmap too as it is done in skl_free_dsp(). Signed-off-by: Dronamraju Santosh P K Signed-off-by: Guneshwor Singh Acked-By: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/bxt-sst.c b/sound/soc/intel/skylake/bxt-sst.c index cf11b84..08a2c5e 100644 --- a/sound/soc/intel/skylake/bxt-sst.c +++ b/sound/soc/intel/skylake/bxt-sst.c @@ -629,11 +629,6 @@ void bxt_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx) release_firmware(ctx->dsp->fw); skl_freeup_uuid_list(ctx); skl_ipc_free(&ctx->ipc); - ctx->dsp->cl_dev.ops.cl_cleanup_controller(ctx->dsp); - - if (ctx->dsp->addr.lpe) - iounmap(ctx->dsp->addr.lpe); - ctx->dsp->ops->free(ctx->dsp); } EXPORT_SYMBOL_GPL(bxt_sst_dsp_cleanup);