diff mbox

[5/8] staging: tidspbridge: send wake message even if dsp is running

Message ID 1300906193-1732-6-git-send-email-omar.ramirez@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

omar ramirez March 23, 2011, 6:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/staging/tidspbridge/core/tiomap3430_pwr.c b/drivers/staging/tidspbridge/core/tiomap3430_pwr.c
index dd035af..93c441c 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430_pwr.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430_pwr.c
@@ -270,8 +270,9 @@  int wake_dsp(struct bridge_dev_context *dev_context, void *pargs)
 
 	switch (dev_context->brd_state) {
 	case BRD_STOPPED:
-	case BRD_RUNNING:
 		return 0;
+	case BRD_RUNNING:
+		break;
 	case BRD_RETENTION:
 		/* Restart the peripheral clocks */
 		dsp_clock_enable_all(dev_context->dsp_per_clks);