aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-10-12 00:27:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:41:00 -0200
commit515ebf79e579d423d60aea4334d61007328c5114 (patch)
treec4226d7e965bfbded7b2be06c30ce15e277e6a1d /drivers/media/video/pvrusb2
parentaa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb (diff)
downloadlinux-2.6.38-lt-ux500-515ebf79e579d423d60aea4334d61007328c5114.tar.gz
V4L/DVB (13227): pvrusb2: Fix redundant message on driver initialization failure (missing break)
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>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 1bfa9b9d7aa..4a464ff3bb0 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -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(