Commit 36a5c2bd authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] dvb_usb_v2: fix dvb_usb_generic_rw() debug

Debug prints write operation data instead of read data was
intention.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 65de8f97
...@@ -55,7 +55,8 @@ int dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, ...@@ -55,7 +55,8 @@ int dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf,
KBUILD_MODNAME, ret); KBUILD_MODNAME, ret);
else else
print_hex_dump(KERN_DEBUG, KBUILD_MODNAME ": <<< ", 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); mutex_unlock(&d->usb_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment