summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/au0828/au0828-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-10 02:47:18 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 22:25:08 +0200
commit811872404bb021b73ecb4b78de88bd2d7f26548e (patch)
tree04676214728630b7c4fb0ff374dada6f9686d48a /drivers/media/usb/au0828/au0828-core.c
parent[media] au0828: use pr_foo macros (diff)
downloadlinux-811872404bb021b73ecb4b78de88bd2d7f26548e.tar.xz
linux-811872404bb021b73ecb4b78de88bd2d7f26548e.zip
[media] au0828: add pr_info to track au0828 suspend/resume code
Suspend/resume conditions can be very tricky. Add some info printk's to help tracking what's happening there. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/au0828/au0828-core.c')
-rw-r--r--drivers/media/usb/au0828/au0828-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c
index 452d14249348..bc064803b6c7 100644
--- a/drivers/media/usb/au0828/au0828-core.c
+++ b/drivers/media/usb/au0828/au0828-core.c
@@ -288,6 +288,8 @@ static int au0828_suspend(struct usb_interface *interface,
if (!dev)
return 0;
+ pr_info("Suspend\n");
+
au0828_rc_suspend(dev);
au0828_v4l2_suspend(dev);
au0828_dvb_suspend(dev);
@@ -303,6 +305,8 @@ static int au0828_resume(struct usb_interface *interface)
if (!dev)
return 0;
+ pr_info("Resume\n");
+
/* Power Up the bridge */
au0828_write(dev, REG_600, 1 << 4);