[PATCH 5/8] staging: tidspbridge - use GTP7 for DSP stack dump

From: Fernando Guzman Lugo
Date: Mon Oct 25 2010 - 20:39:18 EST


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

Signed-off-by: Fernando Guzman Lugo <x0095840@xxxxxx>
---
drivers/staging/tidspbridge/core/dsp-mmu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/tidspbridge/core/dsp-mmu.c b/drivers/staging/tidspbridge/core/dsp-mmu.c
index 2d4e897..157b743 100644
--- a/drivers/staging/tidspbridge/core/dsp-mmu.c
+++ b/drivers/staging/tidspbridge/core/dsp-mmu.c
@@ -63,9 +63,9 @@ static void mmu_fault_print_stack(struct bridge_dev_context *dev_context)

load_iotlb_entry(mmu, &e);

- dsp_clk_enable(DSP_CLK_GPT8);
+ dsp_clk_enable(DSP_CLK_GPT7);

- if (dsp_gpt_wait_overflow(DSP_CLK_GPT8, 0xfffffffe, 10)) {
+ if (dsp_gpt_wait_overflow(DSP_CLK_GPT7, 0xfffffffe, 10)) {
pr_err("%s: error sending interrupt to DSP\n", __func__);
return;
}
@@ -75,7 +75,7 @@ static void mmu_fault_print_stack(struct bridge_dev_context *dev_context)
iommu_write_reg(mmu, tmp, MMU_IRQSTATUS);

dump_dsp_stack(dev_context);
- dsp_clk_disable(DSP_CLK_GPT8);
+ dsp_clk_disable(DSP_CLK_GPT7);

iopgtable_clear_entry(mmu, fa);
free_page((unsigned long)dummy_addr);
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/