aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Ramos <ernesto@ti.com>2010-07-28 10:54:54 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-28 11:23:20 -0400
commita2205e487eb0a8af0bfc421038f1777ca6603ac4 (patch)
treeaf5fb65059baa066e5ac1f0dc87586ddb64d2f37
parentcfccf244a76778132a59d79f802ff63a22e08f59 (diff)
staging:ti dspbridge: make sure IVA2 is OFF when dev is created
Regardless the IVA2 power state before bridgedriver is installed, the driver must ensure that IVA2 power state is OFF when the device driver is created. Signed-off-by: Ernesto Ramos <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/tidspbridge/core/tiomap3430.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c
index 77527bd752fe..e7584deb191e 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -919,8 +919,10 @@ static int bridge_dev_create(struct bridge_dev_context
919 if (!status) { 919 if (!status) {
920 dev_context->hdev_obj = hdev_obj; 920 dev_context->hdev_obj = hdev_obj;
921 /* Store current board state. */ 921 /* Store current board state. */
922 dev_context->dw_brd_state = BRD_STOPPED; 922 dev_context->dw_brd_state = BRD_UNKNOWN;
923 dev_context->resources = resources; 923 dev_context->resources = resources;
924 dsp_clk_enable(DSP_CLK_IVA2);
925 bridge_brd_stop(dev_context);
924 /* Return ptr to our device state to the DSP API for storage */ 926 /* Return ptr to our device state to the DSP API for storage */
925 *dev_cntxt = dev_context; 927 *dev_cntxt = dev_context;
926 } else { 928 } else {