aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/firewire/firedtv-fw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/firewire/firedtv-fw.c')
-rw-r--r--drivers/media/dvb/firewire/firedtv-fw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-fw.c b/drivers/media/dvb/firewire/firedtv-fw.c
index d8408cea335f..fe44789ab037 100644
--- a/drivers/media/dvb/firewire/firedtv-fw.c
+++ b/drivers/media/dvb/firewire/firedtv-fw.c
@@ -46,10 +46,9 @@ static int node_lock(struct firedtv *fdtv, u64 addr, __be32 data[])
46 return node_req(fdtv, addr, data, 8, TCODE_LOCK_COMPARE_SWAP); 46 return node_req(fdtv, addr, data, 8, TCODE_LOCK_COMPARE_SWAP);
47} 47}
48 48
49static int node_read(struct firedtv *fdtv, u64 addr, void *data, size_t len) 49static int node_read(struct firedtv *fdtv, u64 addr, void *data)
50{ 50{
51 return node_req(fdtv, addr, data, len, len == 4 ? 51 return node_req(fdtv, addr, data, 4, TCODE_READ_QUADLET_REQUEST);
52 TCODE_READ_QUADLET_REQUEST : TCODE_READ_BLOCK_REQUEST);
53} 52}
54 53
55static int node_write(struct firedtv *fdtv, u64 addr, void *data, size_t len) 54static int node_write(struct firedtv *fdtv, u64 addr, void *data, size_t len)