upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:47 +0000 (11:54 +0900)
commitcdc0168a35f3f87641fc7396afcf1de1fac7274f
tree977212a8d5a6d4a34545224d4dacc9e4dcd8d60b
parent1775d699caa51c5f8f6432440312aa7903ca45c6
upstream: [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