V4L/DVB: cx23885: Wrong command printed in cmd_to_str()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 20 Jan 2010 00:47:30 +0000 (21:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:48 +0000 (15:10 -0300)
The wrong command was printed for case CX2341X_ENC_SET_DNR_FILTER_MODE,
and a typo in case CX2341X_ENC_SET_PCR_ID.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-By: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-417.c

index 88c0d2481118f4364ee575cc7d57b1bf577b76e9..2ab97ad7b6fb6d26f32fef3dcf3b614666a2a291 100644 (file)
@@ -681,7 +681,7 @@ static char *cmd_to_str(int cmd)
        case CX2341X_ENC_SET_VIDEO_ID:
                return  "SET_VIDEO_ID";
        case CX2341X_ENC_SET_PCR_ID:
-               return  "SET_PCR_PID";
+               return  "SET_PCR_ID";
        case CX2341X_ENC_SET_FRAME_RATE:
                return  "SET_FRAME_RATE";
        case CX2341X_ENC_SET_FRAME_SIZE:
@@ -693,7 +693,7 @@ static char *cmd_to_str(int cmd)
        case CX2341X_ENC_SET_ASPECT_RATIO:
                return  "SET_ASPECT_RATIO";
        case CX2341X_ENC_SET_DNR_FILTER_MODE:
-               return  "SET_DNR_FILTER_PROPS";
+               return  "SET_DNR_FILTER_MODE";
        case CX2341X_ENC_SET_DNR_FILTER_PROPS:
                return  "SET_DNR_FILTER_PROPS";
        case CX2341X_ENC_SET_CORING_LEVELS: