From: "Henrik Rydberg" <rydberg@euromail.se>
To: Kevin Daughtridge <kevin@kdau.com>
Cc: Jiri Kosina <jkosina@suse.cz>,
linux-input@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usbhid: call report_fixup before comparing descriptors
Date: Tue, 18 Sep 2012 18:16:15 +0200 [thread overview]
Message-ID: <20120918161615.GA1439@polaris.bitmath.org> (raw)
In-Reply-To: <50578272.1020902@kdau.com>
Hi Kevin,
> @@ -1436,6 +1436,10 @@ static int hid_post_reset(struct usb_int
> kfree(rdesc);
> return 1;
> }
> +
> + if (hid->driver && hid->driver->report_fixup)
> + rdesc = hid->driver->report_fixup(hid, rdesc, &status);
> +
> status = memcmp(rdesc, hid->rdesc, hid->rsize);
You can use dev_rdesc here instead.
Thanks,
Henrik
next prev parent reply other threads:[~2012-09-18 16:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 20:05 Kevin Daughtridge
2012-09-18 12:00 ` Sergei Shtylyov
2012-09-18 16:16 ` Henrik Rydberg [this message]
2012-09-19 2:21 ` Kevin Daughtridge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120918161615.GA1439@polaris.bitmath.org \
--to=rydberg@euromail.se \
--cc=jkosina@suse.cz \
--cc=kevin@kdau.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome