All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 3/3] [media] az6007: handle CI during suspend/resume
Date: Mon, 06 Aug 2012 15:21:48 +0300	[thread overview]
Message-ID: <501FB6DC.3040200@iki.fi> (raw)
In-Reply-To: <1344188679-8247-4-git-send-email-mchehab@redhat.com>

On 08/05/2012 08:44 PM, Mauro Carvalho Chehab wrote:
> 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.

That is true, but it is coming:
http://blog.palosaari.fi/2012/07/dvb-power-management-on-suspend.html
http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/dvb_core3

At the time I added initial suspend/resume support for dvb-usb-v2 I left 
those out purposely as I saw some study and changes are needed for 
DVB-core/frontend.

Normally suspend keeps USB-device powered and calls .resume() on resume. 
But on certain conditions USB device could lose power during suspend and 
on that case reset_resume() is called, and if there is no reset_resume() 
is calls disconnect() (and probe() after that).

regards
Antti

-- 
http://palosaari.fi/

  reply	other threads:[~2012-08-06 12:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 17:44 [PATCH 0/3] Some additional az6007 cleanup patches Mauro Carvalho Chehab
2012-08-05 17:44 ` [PATCH 1/3] [media] az6007: rename "st" to "state" at az6007_power_ctrl() Mauro Carvalho Chehab
2012-08-05 17:44 ` [PATCH 2/3] [media] az6007: make all functions static Mauro Carvalho Chehab
2012-08-05 17:44 ` [PATCH 3/3] [media] az6007: handle CI during suspend/resume Mauro Carvalho Chehab
2012-08-06 12:21   ` Antti Palosaari [this message]
2012-08-07 11:41     ` Mauro Carvalho Chehab
2012-08-07 12:12       ` Antti Palosaari
2012-08-07 12:40         ` Mauro Carvalho Chehab
2012-08-06 15:28 ` [PATCH 0/3] Some additional az6007 cleanup patches Roger Mårtensson
2012-08-06 16:17   ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501FB6DC.3040200@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.