[PATCHv2 1/4] staging: tidspbridge - use GTP7 for DSP stack dump

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Fernando Guzman Lugo
Date: Thursday, December 9, 2010 - 8:55 pm

DSP stack dump is changed to GTP7 due to GPT8 is used
by DSP side apps

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
---
 drivers/staging/tidspbridge/core/ue_deh.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/tidspbridge/core/ue_deh.c b/drivers/staging/tidspbridge/core/ue_deh.c
index 3430418..1e30ce8 100644
--- a/drivers/staging/tidspbridge/core/ue_deh.c
+++ b/drivers/staging/tidspbridge/core/ue_deh.c
@@ -193,15 +193,15 @@ static void mmu_fault_print_stack(struct bridge_dev_context *dev_context)
 			HW_PAGE_SIZE4KB, 1,
 			&map_attrs, HW_SET, HW_SET);
 
-	dsp_clk_enable(DSP_CLK_GPT8);
+	dsp_clk_enable(DSP_CLK_GPT7);
 
-	dsp_gpt_wait_overflow(DSP_CLK_GPT8, 0xfffffffe);
+	dsp_gpt_wait_overflow(DSP_CLK_GPT7, 0xfffffffe);
 
 	/* Clear MMU interrupt */
 	hw_mmu_event_ack(resources->dw_dmmu_base,
 			HW_MMU_TRANSLATION_FAULT);
 	dump_dsp_stack(dev_context);
-	dsp_clk_disable(DSP_CLK_GPT8);
+	dsp_clk_disable(DSP_CLK_GPT7);
 
 	hw_mmu_disable(resources->dw_dmmu_base);
 	free_page((unsigned long)dummy_va_addr);
-- 
1.7.3.2

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCHv2 0/4] staging: tidspbridge - misc fixes, Fernando Guzman Lugo, (Thu Dec 9, 8:55 pm)
[PATCHv2 1/4] staging: tidspbridge - use GTP7 for DSP stac ..., Fernando Guzman Lugo, (Thu Dec 9, 8:55 pm)
[PATCHv2 2/4] staging: tidspbridge - fix timeout in dsp_gp ..., Fernando Guzman Lugo, (Thu Dec 9, 8:55 pm)
[PATCHv2 3/4] staging: tidspbridge - remove disabling twl ..., Fernando Guzman Lugo, (Thu Dec 9, 8:55 pm)
[PATCHv2 4/4] staging: tidspbridge - change mmufault taskl ..., Fernando Guzman Lugo, (Thu Dec 9, 8:55 pm)
Re: [PATCHv2 0/4] staging: tidspbridge - misc fixes, Nishanth Menon, (Fri Dec 10, 4:34 am)
Re: [PATCHv2 3/4] staging: tidspbridge - remove disabling ..., Felipe Contreras, (Fri Dec 10, 8:43 am)
Re: [PATCHv2 1/4] staging: tidspbridge - use GTP7 for DSP ..., Felipe Contreras, (Fri Dec 10, 8:46 am)
Re: [PATCHv2 0/4] staging: tidspbridge - misc fixes, Guzman Lugo, Fernando, (Fri Dec 10, 9:16 am)
Re: [PATCHv2 3/4] staging: tidspbridge - remove disabling ..., Felipe Contreras, (Mon Dec 20, 12:39 pm)