* [PATCH] HID: hid-ortek: update hid_info output
@ 2011-03-24 18:05 Herton Ronaldo Krzesinski
2011-03-24 18:30 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Herton Ronaldo Krzesinski @ 2011-03-24 18:05 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input, linux-kernel
Minor cosmetic issue, after adding Ortek PKB-1700 support I forgot to
update the hid_info output string.
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
---
drivers/hid/hid-ortek.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/hid/hid-ortek.c b/drivers/hid/hid-ortek.c
index f9b7dd4..6584c16 100644
--- a/drivers/hid/hid-ortek.c
+++ b/drivers/hid/hid-ortek.c
@@ -22,7 +22,8 @@ static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{
if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) {
- hid_info(hdev, "Fixing up Ortek WKB-2000 report descriptor\n");
+ hid_info(hdev, "Fixing up Ortek PKB-1700/"
+ "WKB-2000 report descriptor\n");
rdesc[55] = 0x92;
}
return rdesc;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] HID: hid-ortek: update hid_info output
2011-03-24 18:05 [PATCH] HID: hid-ortek: update hid_info output Herton Ronaldo Krzesinski
@ 2011-03-24 18:30 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2011-03-24 18:30 UTC (permalink / raw)
To: Herton Ronaldo Krzesinski; +Cc: linux-input, linux-kernel
On Thu, 24 Mar 2011, Herton Ronaldo Krzesinski wrote:
> Minor cosmetic issue, after adding Ortek PKB-1700 support I forgot to
> update the hid_info output string.
>
> Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
> ---
> drivers/hid/hid-ortek.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/hid/hid-ortek.c b/drivers/hid/hid-ortek.c
> index f9b7dd4..6584c16 100644
> --- a/drivers/hid/hid-ortek.c
> +++ b/drivers/hid/hid-ortek.c
> @@ -22,7 +22,8 @@ static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc,
> unsigned int *rsize)
> {
> if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) {
> - hid_info(hdev, "Fixing up Ortek WKB-2000 report descriptor\n");
> + hid_info(hdev, "Fixing up Ortek PKB-1700/"
> + "WKB-2000 report descriptor\n");
> rdesc[55] = 0x92;
> }
> return rdesc;
Hi,
the code is a bit different in my tree (hid.git tree, upstream-fixes
branch) already, since I added support for additional device there. The
patch is not needed anymore.
Thanks a lot for taking care anyway,
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-24 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 18:05 [PATCH] HID: hid-ortek: update hid_info output Herton Ronaldo Krzesinski
2011-03-24 18:30 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).