]> git.karo-electronics.de Git - linux-beck.git/commit
[media] az6007: handle CI during suspend/resume
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 5 Aug 2012 12:25:34 +0000 (09:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 6 Aug 2012 12:25:07 +0000 (09:25 -0300)
commit6da74b1da2caf8a659cde68a8faafb766e04037c
tree2544dab4c52e5eea7f431485001da03052efb40e
parent0ca477ea8dceb13eb2f91b13d8ff25a7b3113f7e
[media] az6007: handle CI during suspend/resume

The dvb-usb-v2 core doesn't know anything about CI. So, the
driver needs to handle it by hand. This patch stops CI just
before stopping URB's/RC, and restarts it before URB/RC start.

It should be noticed that suspend/resume is not yet working properly,
as the PM model requires the implementation of reset_resume:
dvb_usb_az6007 1-6:1.0: no reset_resume for driver dvb_usb_az6007?
But this is not implemented there at dvb-usb-v2 yet.

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