Re: [PATCH] keytable.c: add support for the CEC protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 07, 2017 at 02:52:01PM +0200, Hans Verkuil wrote:
> The CEC protocol wasn't known, so 'Supported protocols:' would just say
> 'other' instead of 'cec'.
> 
> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>

Acked-by: Sean Young <sean@xxxxxxxx>

> ---
> diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
> index 634f4561..55abfc19 100644
> --- a/utils/keytable/keytable.c
> +++ b/utils/keytable/keytable.c
> @@ -106,6 +106,7 @@ enum sysfs_protocols {
>  	SYSFS_RC6		= (1 << 10),
>  	SYSFS_SHARP		= (1 << 11),
>  	SYSFS_XMP		= (1 << 12),
> +	SYSFS_CEC		= (1 << 13),
>  	SYSFS_INVALID		= 0,
>  };
> 
> @@ -138,6 +139,7 @@ const struct protocol_map_entry protocol_map[] = {
>  	{ "rc-6-mce",	NULL,		SYSFS_INVALID	},
>  	{ "sharp",	NULL,		SYSFS_SHARP	},
>  	{ "xmp",	"/xmp_decoder",	SYSFS_XMP	},
> +	{ "cec",	NULL,		SYSFS_CEC	},
>  	{ NULL,		NULL,		SYSFS_INVALID	},
>  };



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux