V4L/DVB (13324): gspca - pac7302/pac7311: Handle return value of usb_control_msg().
authorMarton Nemeth <nm127@freemail.hu>
Thu, 5 Nov 2009 08:35:08 +0000 (05:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:20 +0000 (18:41 -0200)
commit4f7309e27865b88df7b0b0ad59e0376dba1806af
tree9ea7e7c963d9ff1197234b2ee08f5bb88766bdd6
parent56205cc0dd703be70b4ea1138a7e774e058d79fa
V4L/DVB (13324): gspca - pac7302/pac7311: Handle return value of usb_control_msg().

The function usb_control_msg() can return error any time so at least
warn the user if an error happens. No message is printed in case of
normal operation.

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7302.c
drivers/media/video/gspca/pac7311.c