Skip to content

Commit

Permalink
ASoC: fsl: remove leftover release_mem_region
Browse files Browse the repository at this point in the history
When converting this driver to devm_ioremap_resource, the removal of this now
unneeded function has been forgotten.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Wolfram Sang authored and Mark Brown committed Oct 14, 2013
1 parent 1b3ed70 commit 67093b2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/fsl/imx-ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ static int imx_ssi_probe(struct platform_device *pdev)
failed_pcm_fiq:
snd_soc_unregister_component(&pdev->dev);
failed_register:
release_mem_region(res->start, resource_size(res));
clk_disable_unprepare(ssi->clk);
failed_clk:
snd_soc_set_ac97_ops(NULL);
Expand All @@ -625,7 +624,6 @@ static int imx_ssi_probe(struct platform_device *pdev)

static int imx_ssi_remove(struct platform_device *pdev)
{
struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
struct imx_ssi *ssi = platform_get_drvdata(pdev);

imx_pcm_dma_exit(pdev);
Expand All @@ -636,7 +634,6 @@ static int imx_ssi_remove(struct platform_device *pdev)
if (ssi->flags & IMX_SSI_USE_AC97)
ac97_ssi = NULL;

release_mem_region(res->start, resource_size(res));
clk_disable_unprepare(ssi->clk);
snd_soc_set_ac97_ops(NULL);

Expand Down

0 comments on commit 67093b2

Please sign in to comment.