V4L/DVB (13227): pvrusb2: Fix redundant message on driver initialization failure...
authorMike Isely <isely@pobox.com>
Mon, 12 Oct 2009 03:27:38 +0000 (00:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:00 +0000 (18:41 -0200)
After detecting failure due to module initialization error, get out.
Don't report jammed hardware.  Problem due to a missing break statement.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index 1bfa9b9..4a464ff 100644 (file)
@@ -2353,6 +2353,7 @@ static void pvr2_hdw_setup(struct pvr2_hdw *hdw)
                                " before this driver can function.  There"
                                " should be some earlier messages giving more"
                                " information about the problem.");
+                       break;
                }
                if (procreload) {
                        pvr2_trace(