]> git.baikalelectronics.ru Git - kernel.git/commit
eeepc-laptop: don't enable camera at startup if it's already on.
authorLuca Niccoli <lultimouomo@gmail.com>
Fri, 16 Oct 2009 20:22:47 +0000 (22:22 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 3 Nov 2009 15:24:19 +0000 (10:24 -0500)
commit79608555aad77cd41e421bab41cc125b24e2d0c9
tree638be689b9ee6407c11002468f4338fc46002765
parent69d558bf0b751394faff7a112882a6b672215a2b
eeepc-laptop: don't enable camera at startup if it's already on.

Switching the camera takes 500ms, checking if it's on is almost free...
The BIOS remembers the setting through reboots, so there's good chance the
camera is already enabled.

Signed-off-by: Luca Niccoli <lultimouomo@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c