lkml.org 
[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: pm loss development
Date
On Saturday, May 14, 2011, Raffaele Recalcati wrote:
> > I read the patches. My question was about the general idea of who should
> > be responsible of making these decisions.
>
> The best should be, I think, to have some guidelines and than the
> possibility to choose the best policy for each situation.

Again, I'd like to know who's supposed to make the choice.

> In my board I needed to shutdown video in capture and demodulator
> circuit, so I have implemented vpfe capture switch off, that does
> stream_off to all its v4l2 subdevices (a pal decoder and a video
> demodulator).
> So I can save 30mA, and it allows to my board to survive longer.
> I need to do some tests and have some data with and without PM loss.

That's fine, but in general we need to take care of a few more things,
like the interactions between the devices we're switching off and user
space (that can be doing just about anything at the moment).

We can't simply switch off devices at will, because that may lead to
breakage too in general.

Thanks,
Rafael


\
 
 \ /
  Last update: 2011-05-18 01:13    [W:0.136 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site