summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 14:28:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 14:28:58 -0300
commit75bdd4882db874690382f633b28f5b3f7d5ff54c (patch)
tree309368edaa0eafd4a9013d915c0b852e2ab77c67
parent89522ac35d478d8c4f06e6ae1723925d20e3eca7 (diff)
downloadmediapointer-dvb-s2-75bdd4882db874690382f633b28f5b3f7d5ff54c.tar.gz
mediapointer-dvb-s2-75bdd4882db874690382f633b28f5b3f7d5ff54c.tar.bz2
af9015: revert changeset: 12588:184e9d1d8707
From: Mauro Carvalho Chehab <mchehab@redhat.com> Revert this patch as requested by the patch author. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/dvb/dvb-usb/af9015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c
index aeb10db0b..69a00d610 100644
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c
@@ -108,7 +108,7 @@ static int af9015_rw_udev(struct usb_device *udev, struct req_t *req)
}
/* write requested */
- if (write && req->data_len) {
+ if (write) {
memcpy(&buf[8], req->data, req->data_len);
msg_len += req->data_len;
}