upstream: [media] gspca_kinect: fix messages about kinect_read() return value
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 30 Dec 2013 16:41:46 +0000 (13:41 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:45 +0000 (11:54 +0900)
commit63a01aa26ec096c8fe13e2dcfa0c36119e73bf25
tree90f028e26dcc479642c5f471b063a74ce0ab3cf7
parentd6de5ba9167ebdcf56403e85b4f896bcb771aeef
upstream: [media] gspca_kinect: fix messages about kinect_read() return value

Messages relative to kinect_read() are printing "res" which contains the
return value of a previous kinect_write().

Print the correct value in the messages.

Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/gspca/kinect.c