From 839a18f6663f416b484d496824beb7ad9cfe9215 Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Wed, 4 Mar 2009 11:01:31 +0000
Subject: DVB-USB: correct the comment about KEY_SLEEP
KEY_HIBERNATE is used when the decal on the key indicates sleep to disk,
KEY_SUSPEND is used when the decal indicates sleep to memory, and
KEY_SLEEP is used when the sleep type is unknown or unspecified
We've already converted Xorg, HAL, and most of userspace to use the same names.
With this patch, the sleep keys can be labeled consistently all the way
through the stack. More patches to other device drivers are to follow.
Signed-off-by: Richard Hughes <hughsient@gmail.com>
---
drivers/media/dvb/dvb-usb/af9015.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -244,7 +244,7 @@ static struct dvb_usb_rc_key af9015_rc_keys_twinhan[] = {
{ 0x01, 0x17, KEY_SUBTITLE }, /* Subtitle / CC */
{ 0x00, 0x10, KEY_MUTE },
{ 0x01, 0x19, KEY_AUDIO }, /* L/R */ /* TODO better event */
- { 0x01, 0x16, KEY_SLEEP }, /* Hibernate */
+ { 0x01, 0x16, KEY_SLEEP }, /* Sleep */
{ 0x01, 0x16, KEY_SWITCHVIDEOMODE },
/* A/V */ /* TODO does not work */
{ 0x00, 0x06, KEY_AGAIN }, /* Recall */
--
1.6.1.3