]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx-input: implement em28xx_ops: suspend/resume hooks
authorShuah Khan <shuah.kh@samsung.com>
Sat, 22 Feb 2014 00:50:16 +0000 (21:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 3 Mar 2014 09:46:25 +0000 (06:46 -0300)
commit170454b16dbd7d037f51e25599ac9ff7dc3ae628
tree576014647316baca40e8030867460ec2e2e2e705
parentd9c8bfb5e84861090d039ca653e9207c079eb379
[media] em28xx-input: implement em28xx_ops: suspend/resume hooks

Implement em28xx_ops: suspend/resume hooks. em28xx usb driver will
invoke em28xx_ops: suspend and resume hooks for all its extensions
from its suspend() and resume() interfaces.

[m.chehab@samsung.com: Fix a breakage caused by calling a non-existing
 function call: schedule_delayed_work_sync(), and test if IR was defined
 at suspend/resume]

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-input.c