[media] dvb_usb_v2: change rc polling active/deactive logic
authorAntti Palosaari <crope@iki.fi>
Mon, 10 Dec 2012 00:23:30 +0000 (21:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 12:20:03 +0000 (10:20 -0200)
commitac1c86c857368eb727b7ca2c7a48bd6e373fa628
tree7265e12747a5db0a77206716684b7efb484c00cc
parentef3824029d0f5887c065ea461157bdf8b2287bf8
[media] dvb_usb_v2: change rc polling active/deactive logic

Use own flag to mark when rc polling is active/deactive and make
decisions, like start/stop polling on suspend/resume, against that.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/dvb_usb.h
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c