]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 17:37:26 +0000 (14:37 -0300)
commitc7892d0e76ebd92688cccc22bc55d89d02651a25
tree0491dd44e1428ef01e2c8cc969eeb95832c709bd
parent89dba4ed9c5ea33c280a5e554e9a7f2e4243fc4c
[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