projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65de8f9
)
[media] dvb_usb_v2: fix dvb_usb_generic_rw() debug
author
Antti Palosaari
<crope@iki.fi>
Thu, 7 Jun 2012 21:37:42 +0000
(18:37 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:28 +0000
(07:56 -0300)
Debug prints write operation data instead of read data was
intention.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb_urb.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/dvb_usb_urb.c
b/drivers/media/dvb/dvb-usb/dvb_usb_urb.c
index f2dc6b928ebe8ca76bb46cc9ebd67ebc4b954060..a32722087a0c79c36ad4923073ce8bb06dc32c53 100644
(file)
--- a/
drivers/media/dvb/dvb-usb/dvb_usb_urb.c
+++ b/
drivers/media/dvb/dvb-usb/dvb_usb_urb.c
@@
-55,7
+55,8
@@
int dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf,
KBUILD_MODNAME, ret);
else
print_hex_dump(KERN_DEBUG, KBUILD_MODNAME ": <<< ",
- DUMP_PREFIX_NONE, 32, 1, wbuf, wlen, 0);
+ DUMP_PREFIX_NONE, 32, 1, rbuf, actlen,
+ 0);
}
mutex_unlock(&d->usb_mutex);