Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324513
b: refs/heads/master
c: b0add95
h: refs/heads/master
i:
  324511: aa57f68
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent 005c8bb commit 9826301
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 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: 18978952c1815c0d6c25f0d8849c67204074b3e2
refs/heads/master: b0add95059a87baa855633412075475e100575ca
12 changes: 6 additions & 6 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int ft1000_read_register(struct ft1000_device *ft1000dev, u16* Data,
nRegIndx,
Data,
2,
LARGE_TIMEOUT);
USB_CTRL_GET_TIMEOUT);

return ret;
}
Expand Down Expand Up @@ -143,7 +143,7 @@ int ft1000_write_register(struct ft1000_device *ft1000dev, u16 value,
nRegIndx,
NULL,
0,
LARGE_TIMEOUT);
USB_CTRL_SET_TIMEOUT);

return ret;
}
Expand Down Expand Up @@ -178,7 +178,7 @@ int ft1000_read_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer,
indx,
buffer,
cnt,
LARGE_TIMEOUT);
USB_CTRL_GET_TIMEOUT);

return ret;
}
Expand Down Expand Up @@ -215,7 +215,7 @@ int ft1000_write_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer,
indx,
buffer,
cnt,
LARGE_TIMEOUT);
USB_CTRL_SET_TIMEOUT);

return ret;
}
Expand Down Expand Up @@ -255,7 +255,7 @@ int ft1000_read_dpram16(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer,
indx,
buffer,
2,
LARGE_TIMEOUT);
USB_CTRL_GET_TIMEOUT);

return ret;
}
Expand Down Expand Up @@ -294,7 +294,7 @@ int ft1000_write_dpram16(struct ft1000_device *ft1000dev, u16 indx, u16 value, u
indx,
NULL,
0,
LARGE_TIMEOUT);
USB_CTRL_SET_TIMEOUT);

return ret;
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ struct app_info_block {

#define FT1000_STATUS_CLOSING 0x01

#define LARGE_TIMEOUT 5000

#define DSPBCMSGID 0x10

/* Electrabuzz specific DPRAM mapping */
Expand Down

0 comments on commit 9826301

Please sign in to comment.