Skip to content

Commit

Permalink
[media] dvb_usb_v2: fix dvb_usb_generic_rw() debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Aug 4, 2012
1 parent 65de8f9 commit 36a5c2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/dvb/dvb-usb/dvb_usb_urb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 36a5c2b

Please sign in to comment.