mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
rk29: call resume_console while dpm_drv_timeout, make debug more easy
This commit is contained in:
parent
8c9b12aa1e
commit
1c209c256f
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user