[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)
commit5025076aadfeaf774f341b852b997f2bc718da6a
tree576014647316baca40e8030867460ec2e2e2e705
parentca2b46dacbf5caaa070c0195c794a35b49b189d1
[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