summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2004-12-01 21:43:58 +0000
committerHolger Waechtler <devnull@localhost>2004-12-01 21:43:58 +0000
commit92d39bed40db683f5949b1bd4338c13d16f4f6dc (patch)
tree8eec08e46515b37058ddd7ced84f761215337941 /linux
parent263dbd169e18b0d124cd45a41fb0a6d32d0a9dd6 (diff)
downloadmediapointer-dvb-s2-92d39bed40db683f5949b1bd4338c13d16f4f6dc.tar.gz
mediapointer-dvb-s2-92d39bed40db683f5949b1bd4338c13d16f4f6dc.tar.bz2
paranoia cosmetics
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/cinergyT2/cinergyT2.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
index 3d254cd19..7074dc469 100644
--- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
+++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c
@@ -203,8 +203,8 @@ static const uint32_t rc_keys [] = {
};
static int cinergyt2_command (struct cinergyt2 *cinergyt2,
- char *send_buf, int send_buf_len,
- char *rec_buf, int rec_buf_len)
+ char *send_buf, int send_buf_len,
+ char *recv_buf, int recv_buf_len)
{
int actual_len;
char dummy;
@@ -216,11 +216,11 @@ static int cinergyt2_command (struct cinergyt2 *cinergyt2,
if (ret)
dprintk(1, "usb_bulk_msg (send) failed, err %i\n", ret);
- if (!rec_buf)
- rec_buf = &dummy;
+ if (!recv_buf)
+ recv_buf = &dummy;
ret = usb_bulk_msg(cinergyt2->udev, usb_rcvbulkpipe(cinergyt2->udev, 1),
- rec_buf, rec_buf_len, &actual_len, HZ);
+ recv_buf, recv_buf_len, &actual_len, HZ);
if (ret)
dprintk(1, "usb_bulk_msg (read) failed, err %i\n", ret);
@@ -772,6 +772,7 @@ static int cinergyt2_probe (struct usb_interface *intf,
INIT_WORK(&cinergyt2->query_work, cinergyt2_query, cinergyt2);
cinergyt2->udev = interface_to_usbdev(intf);
+ cinergyt2->param.cmd = CINERGYT2_EP1_SET_TUNER_PARAMETERS;
if (cinergyt2_alloc_stream_urbs (cinergyt2) < 0) {
dprintk(1, "unable to allocate stream urbs\n");