Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305061
b: refs/heads/master
c: 44d27f7
h: refs/heads/master
i:
  305059: 1e8fd65
v: v3
  • Loading branch information
Jonathan Nieder authored and Jiri Kosina committed May 11, 2012
1 parent e9c83ea commit 74c19b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 74b89e8a3625c17c7452532dfb997ac4f1a38751
refs/heads/master: 44d27f7dfedd9aadc082cda31462f6600f56e4ec
5 changes: 3 additions & 2 deletions trunk/drivers/hid/hid-logitech-dj.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/hid.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <asm/unaligned.h>
#include "usbhid/usbhid.h"
#include "hid-ids.h"
#include "hid-logitech-dj.h"
Expand Down Expand Up @@ -265,8 +266,8 @@ static void logi_dj_recv_add_djhid_device(struct dj_receiver_dev *djrcv_dev,
goto dj_device_allocate_fail;
}

dj_dev->reports_supported = le32_to_cpu(
dj_report->report_params[DEVICE_PAIRED_RF_REPORT_TYPE]);
dj_dev->reports_supported = get_unaligned_le32(
dj_report->report_params + DEVICE_PAIRED_RF_REPORT_TYPE);
dj_dev->hdev = dj_hiddev;
dj_dev->dj_receiver_dev = djrcv_dev;
dj_dev->device_index = dj_report->device_index;
Expand Down

0 comments on commit 74c19b6

Please sign in to comment.