summaryrefslogtreecommitdiffstats
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
parentaa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb (diff)
downloadlinux-stable-515ebf79e579d423d60aea4334d61007328c5114.tar.gz
linux-stable-515ebf79e579d423d60aea4334d61007328c5114.tar.bz2
linux-stable-515ebf79e579d423d60aea4334d61007328c5114.zip
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>
-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 1bfa9b9d7aa0..4a464ff3bb00 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(