summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Guiriec <s-guiriec@ti.com>2010-09-30 16:18:22 +0200
committerSebastien Jan <s-jan@ti.com>2010-10-04 09:53:11 +0200
commit7de6fddc10646da072860aabc11e318d64dc6174 (patch)
tree1c5e9010570677a883af9b021b4ccaaeb280ea8e
parent48850bd993044e2c3a98a2b0058ef02115b043cb (diff)
ASoc: ABE DSP: Correct disable port with abe port.
Function abe_dsp_disable_data_transfer enable ATC port instead of disabling it. Patch is needed for PM in order to close McPDM ABE port correctly. Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
-rw-r--r--sound/soc/omap/omap-abe-dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-abe-dsp.c b/sound/soc/omap/omap-abe-dsp.c
index 05578b945c03..b94e41851a4a 100644
--- a/sound/soc/omap/omap-abe-dsp.c
+++ b/sound/soc/omap/omap-abe-dsp.c
@@ -249,7 +249,7 @@ void abe_dsp_disable_data_transfer(int port)
/* TODO: do not use abe global structure to assign pdev */
struct platform_device *pdev = abe->pdev;
- abe_enable_data_transfer(port);
+ abe_disable_data_transfer(port);
pm_runtime_put_sync(&pdev->dev);
}