]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13383): gspca - pac7311/pac7302: Propagate error to higher level software.
authorMárton Németh <nm127@freemail.hu>
Sat, 7 Nov 2009 08:52:02 +0000 (05:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:37 +0000 (18:41 -0200)
commit84fe0b94fbdd203fd72045e10f82ecb2268dbea1
treeae09c129021a7e1e7fa2ace0133509c0194693c2
parent7a126704136b4c1255278a80223a089675a1d0c9
V4L/DVB (13383): gspca - pac7311/pac7302: Propagate error to higher level software.

The usb_control_msg() can fail any time. Only continue writing
sequence if there was no error with the previous write. If there
was any problem stop sending URBs and propagate the error to the
gspca_main.

Signed-off-by: Márton Németh <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