mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
rk29: call resume_console while dpm_drv_timeout, make debug more easy
This commit is contained in:
@@ -453,6 +453,11 @@ static void dpm_drv_timeout(unsigned long data)
|
||||
struct device *dev = dpm_drv_wd_data.dev;
|
||||
struct task_struct *tsk = dpm_drv_wd_data.tsk;
|
||||
|
||||
#ifdef CONFIG_ARCH_RK29
|
||||
#include <linux/console.h>
|
||||
resume_console();
|
||||
#endif
|
||||
|
||||
printk(KERN_EMERG "**** DPM device timeout: %s (%s)\n", dev_name(dev),
|
||||
(dev->driver ? dev->driver->name : "no driver"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user