OSDN Git Service

eeepc-laptop: don't enable camera at startup if it's already on.
authorLuca Niccoli <lultimouomo@gmail.com>
Tue, 13 Oct 2009 18:28:00 +0000 (11:28 -0700)
committerCorentin Chary <corentincj@iksaif.net>
Wed, 21 Oct 2009 10:57:22 +0000 (12:57 +0200)
commit600a4db5ce3675df79c505ba6ba6b3f53616b427
tree2b3413ceb133fe4ebc650c5442fe6d520e3068ac
parent246f83016b8f616c86aed07d31618b0861277234
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: Len Brown <len.brown@intel.com>
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>
drivers/platform/x86/eeepc-laptop.c