summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-08-23 08:43:33 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-08-23 08:43:33 +0200
commite7e0275a6146c377a318ea69ba83532b2ecf4080 (patch)
tree908890d5dfd5a4e4575c4f3c74031350d4402317 /linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
parent2019504e7d4a9558886c6327b9f6c684e9f5b252 (diff)
parentab19cb308e86c5aeb0531bbbf5bfb2c09d3423a3 (diff)
downloadmediapointer-dvb-s2-e7e0275a6146c377a318ea69ba83532b2ecf4080.tar.gz
mediapointer-dvb-s2-e7e0275a6146c377a318ea69ba83532b2ecf4080.tar.bz2
merge: from v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 419a473cf..881610b60 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -1324,8 +1324,7 @@ int pvr2_upload_firmware2(struct pvr2_hdw *hdw)
memcpy(fw_ptr, fw_entry->data + fw_done, bcnt);
/* Usbsnoop log shows that we must swap bytes... */
for (icnt = 0; icnt < bcnt/4 ; icnt++)
- ((u32 *)fw_ptr)[icnt] =
- ___swab32(((u32 *)fw_ptr)[icnt]);
+ ((u32 *)fw_ptr)[icnt] = swab32(((u32 *)fw_ptr)[icnt]);
ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt,
&actual_length, HZ);