[lkml]   [2009]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] eeepc-laptop: enable camera by default
On Sun, Jun 07, 2009 at 11:03:48PM -0400, Alan Stern wrote:

> There's no mechanism for this. It many environments it couldn't work,
> because the decision about whether to enable autosuspend is made when
> the device is first created (i.e., when the creation uevent is
> received), whereas driver binding doesn't occur until later.

There's a lot of power management situations where you don't end up with
the optimal power configuration until a driver's bound. It's certainly
possible to do this in userspace, but if we know that the hardware
supported by a given driver will always work then it seems reasonable to
have it whitelist autosuspend on that device.

Matthew Garrett |

 \ /
  Last update: 2009-06-08 05:11    [W:0.048 / U:7.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site