V4L/DVB (13223): pvrusb2: Soften encoder warning message
authorMike Isely <isely@pobox.com>
Mon, 12 Oct 2009 03:18:13 +0000 (00:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:58 +0000 (18:40 -0200)
pvrusb2: Encoder failures are mostly recoverable by the driver.  While
it would sure be nice not to have the failure happen in the first
place, this has been going on for years and I doubt that a real
solution will ever present itself.  I think that part's firmware is
just slightly flakey and we have to deal with it.  The driver does
deal with it just fine, but the warning message going into the kernel
log is probably a little more alarming than it should be.  So try to
soften up the warning somewhat.

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

index 54ac5349dee2f29d47303269cf07ee99cc26706c..e046fdaec5ae21de6971d36bbd857efde08df1a5 100644 (file)
@@ -294,7 +294,10 @@ static int pvr2_encoder_cmd(void *ctxt,
                        pvr2_trace(
                                PVR2_TRACE_ERROR_LEGS,
                                "Giving up on command."
-                               "  This is normally recovered by the driver.");
+                               "  This is normally recovered via a firmware"
+                               " reload and re-initialization; concern"
+                               " is only warranted if this happens repeatedly"
+                               " and rapidly.");
                        break;
                }
                wrData[0] = 0x7;