diff options
Diffstat (limited to 'drivers/dsp/syslink/devh/44xx/devh44xx.c')
-rw-r--r-- | drivers/dsp/syslink/devh/44xx/devh44xx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/dsp/syslink/devh/44xx/devh44xx.c b/drivers/dsp/syslink/devh/44xx/devh44xx.c index 3c7ec3fc44e..92ead7d71f7 100644 --- a/drivers/dsp/syslink/devh/44xx/devh44xx.c +++ b/drivers/dsp/syslink/devh/44xx/devh44xx.c @@ -98,9 +98,10 @@ static void devh_notification_handler(u16 proc_id, u16 line_id, u32 event_id, pr_warning("Sys Error occured in Ducati for proc_id = %d\n", proc_id); +#ifdef CONFIG_SYSLINK_RECOVERY /* schedule the recovery */ ipc_recover_schedule(); - +#endif /* ifdef CONFIG_SYSLINK_RECOVERY */ devh_notify_event((struct omap_devh *)arg, DEV_SYS_ERROR); } @@ -229,9 +230,10 @@ static int devh44xx_wdt_ipc_notifier_call(struct notifier_block *nb, pr_warning("Ducati Watch Dog fired\n"); +#ifdef CONFIG_SYSLINK_RECOVERY /* schedule the recovery */ ipc_recover_schedule(); - +#endif /* ifdef CONFIG_SYSLINK_RECOVERY */ while (i--) { obj = devh_get_obj(i); devh_notify_event(obj, DEV_WATCHDOG_ERROR); |