Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215584
b: refs/heads/master
c: bd9033e
h: refs/heads/master
v: v3
  • Loading branch information
Nikolai Kondrashov authored and Jiri Kosina committed Aug 23, 2010
1 parent 74b7a63 commit 41fdc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f36ee074d5d563a832fbfc378207739db3a0a205
refs/heads/master: bd9033ebc15acd05c8df92b5fc7ecc9171d1087e
11 changes: 4 additions & 7 deletions trunk/drivers/hid/hid-uclogic.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,26 +343,23 @@ static __u8 wp8060u_rdesc_fixed[] = {
};

static __u8 *uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
unsigned int *rsize)
{
switch (hdev->product) {
case USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U:
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
{
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
rdesc = wp4030u_rdesc_fixed;
*rsize = sizeof(wp4030u_rdesc_fixed);
}
break;
case USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U:
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
{
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
rdesc = wp5540u_rdesc_fixed;
*rsize = sizeof(wp5540u_rdesc_fixed);
}
break;
case USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U:
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE)
{
if (*rsize == WPXXXXU_RDESC_ORIG_SIZE) {
rdesc = wp8060u_rdesc_fixed;
*rsize = sizeof(wp8060u_rdesc_fixed);
}
Expand Down

0 comments on commit 41fdc59

Please sign in to comment.