(pre-stable) HID: bump maximum global item tag report size to 96 bytes
Applied to precise master-next.
Thanks,
Leann
On Wed, 2011-11-16 at 10:37 -0800, Chase Douglas wrote:
> This allows the latest N-Trig devices to function properly.
>
> BugLink: https://bugs.launchpad.net/bugs/724831
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> ---
> This has been accepted into Jiri Kosina's git tree for 3.4. It will eventually
> come down through the stable queue in three or four months, but it should be
> applied to Precise in the meantime.
>
> Note that this won't have any effect until the Ubuntu sauce hid-ntrig patches
> are reverted.
>
> drivers/hid/hid-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 4f81d20..1691c99 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -361,7 +361,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item)
>
> case HID_GLOBAL_ITEM_TAG_REPORT_SIZE:
> parser->global.report_size = item_udata(item);
> - if (parser->global.report_size > 32) {
> + if (parser->global.report_size > 96) {
> dbg_hid("invalid report_size %d
",
> parser->global.report_size);
> return -1;
> --
> 1.7.5.4
>
>
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
11-22-2011, 02:16 PM
Leann Ogasawara
(pre-stable) HID: bump maximum global item tag report size to 96 bytes
On Wed, 2011-11-16 at 10:37 -0800, Chase Douglas wrote:
> This allows the latest N-Trig devices to function properly.
>
> BugLink: https://bugs.launchpad.net/bugs/724831
>
> Cc: stable@vger.kernel.org
> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> ---
> This has been accepted into Jiri Kosina's git tree for 3.4. It will eventually
> come down through the stable queue in three or four months, but it should be
> applied to 11.10 in the meantime.
>
> drivers/hid/hid-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 4f81d20..1691c99 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -361,7 +361,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item)
>
> case HID_GLOBAL_ITEM_TAG_REPORT_SIZE:
> parser->global.report_size = item_udata(item);
> - if (parser->global.report_size > 32) {
> + if (parser->global.report_size > 96) {
> dbg_hid("invalid report_size %d
",
> parser->global.report_size);
> return -1;
> --
> 1.7.5.4
>
>
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team