WDT3 is used as a way to detect dsp hangs, as of now its
control is left to arm side driver, so, no requests should
be received by the dsp to enable/disable this clock.

Signed-off-by: Omar Ramirez Luna <omar.rami...@ti.com>
---
 drivers/dsp/bridge/services/clk.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/services/clk.c 
b/drivers/dsp/bridge/services/clk.c
index 2e3c64d..ee85905 100644
--- a/drivers/dsp/bridge/services/clk.c
+++ b/drivers/dsp/bridge/services/clk.c
@@ -64,8 +64,6 @@ struct dsp_clk_t {
 static struct omap_dm_timer *timer[4];
 
 static struct dsp_clk_t dsp_clks[] = {
-       {NULL, "wdt_fck", 3},
-       {NULL, "wdt_ick", 3},
        {NULL, "ssi_ssr_sst_fck", -1},
        {NULL, "ssi_ick", -1},
 };
@@ -141,6 +139,8 @@ dsp_status dsp_clk_enable(IN enum dsp_clk_id clk_id)
                omap_mcbsp_request(MCBSP_ID(clk_id));
                break;
        case WDT_CLK:
+               dev_err(bridge, "ERROR: DSP requested to enable WDT3 clk\n");
+               break;
        case SSI_CLK:
                clk_handle = dsp_clks[clk_id].clk_handle;
                if (clk_enable(clk_handle)) {
@@ -191,6 +191,8 @@ dsp_status dsp_clk_disable(IN enum dsp_clk_id clk_id)
                omap_mcbsp_free(MCBSP_ID(clk_id));
                break;
        case WDT_CLK:
+               dev_err(bridge, "ERROR: DSP requested to disable WDT3 clk\n");
+               break;
        case SSI_CLK:
                clk_handle = dsp_clks[clk_id].clk_handle;
 
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to