On Mon, Jun 18, 2012 at 10:32 AM, David Dillow <dave@xxxxxxxxxxxxxx> wrote: > Hmm, it sounds like perhaps changing the standby call in the tuner core > to asynchronously power down the tuner may be the way to go -- ie, when > we tell it to standby, it will do a schedule_work for some 10 seconds > later to really pull it down. If we get a resume call prior to then, > we'll just cancel the work, otherwise we wait for the work to finish and > then issue the resume. > > Does that sound reasonable? At face value it sounds reasonable, except the approach breaks down as soon as you have hybrid tuners which support both analog and digital. Because the digital side of the tuner isn't tied into tuner-core, you'll break in the following situation: Start using analog Stop using analog [schedule_work() call] Start using digital Timer pops and powers down the tuner even though it's in use for ATSC or ClearQAM Again, I'm not proposing a solution, but just poking a fatal hole in your proposal (believe me, I had considered the same approach when first looking at the problem). Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html