Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289141
b: refs/heads/master
c: 08cd9ef
h: refs/heads/master
i:
  289139: 55c8b23
v: v3
  • Loading branch information
Omar Ramirez Luna authored and Greg Kroah-Hartman committed Feb 24, 2012
1 parent 43dea6b commit bc67c5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18db4fe09886691a781f3d1e4589ede0239d8ee2
refs/heads/master: 08cd9ef4eca0b53cdae190b718e4945408c7d3b8
10 changes: 7 additions & 3 deletions trunk/drivers/staging/tidspbridge/core/tiomap3430.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ static int bridge_brd_start(struct bridge_dev_context *dev_ctxt,
u32 clk_cmd;
struct io_mgr *hio_mgr;
u32 ul_load_monitor_timer;
u32 wdt_en = 0;
struct omap_dsp_platform_data *pdata =
omap_dspbridge_dev->dev.platform_data;

Expand Down Expand Up @@ -594,9 +595,12 @@ static int bridge_brd_start(struct bridge_dev_context *dev_ctxt,
if (!wait_for_start(dev_context, dw_sync_addr))
status = -ETIMEDOUT;

/* Start wdt */
dsp_wdt_sm_set((void *)ul_shm_base);
dsp_wdt_enable(true);
dev_get_symbol(dev_context->dev_obj, "_WDT_enable", &wdt_en);
if (wdt_en) {
/* Start wdt */
dsp_wdt_sm_set((void *)ul_shm_base);
dsp_wdt_enable(true);
}

status = dev_get_io_mgr(dev_context->dev_obj, &hio_mgr);
if (hio_mgr) {
Expand Down

0 comments on commit bc67c5a

Please sign in to comment.