Hi,

Please find attached a patch that sets the SSP0/SSP1 in suspended state after 
boot.

Thanks,

Selma.

>From 50e18db6c94ba66217d1ab060aff00846239e405 Mon Sep 17 00:00:00 2001
From: Selma Bensaid <[email protected]>
Date: Fri, 3 Dec 2010 17:46:38 +0100
Subject: [PATCH 2/3] Intel MID I2S set the SSP0/SSP1 in supsended state after 
boot

In the function intel_mid_i2s_probe the pm_runtime functions are not called
in the right order so SSP0 and SSP1 are not suspended after probe.

Signed-off-by: Selma Bensaid <[email protected]>
---
 sound/pci/intel_mid_i2s/intel_mid_i2s.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/intel_mid_i2s/intel_mid_i2s.c 
b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
index 7c96446..7563c78 100644
--- a/sound/pci/intel_mid_i2s/intel_mid_i2s.c
+++ b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
@@ -1454,9 +1454,9 @@ static int intel_mid_i2s_probe(struct pci_dev *pdev,
                dev_err(&pdev->dev, "can not get IRQ. status err=%d\n", status);
                goto err_i2s_probe3;
        }
+       pm_runtime_set_active(&(drv_data->pdev->dev));
        pm_runtime_enable(&(drv_data->pdev->dev));
        pm_runtime_allow(&(drv_data->pdev->dev));
-       pm_runtime_set_active(&(drv_data->pdev->dev));
        pm_request_idle(&(drv_data->pdev->dev));
 
        goto leave;
-- 
1.7.2.3

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Attachment: 0002-Intel-MID-I2S-set-the-SSP0-SSP1-in-supsended-state-a.patch
Description: 0002-Intel-MID-I2S-set-the-SSP0-SSP1-in-supsended-state-a.patch

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to