From patchwork Wed Jan 20 00:47:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 73991 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0K0h1sW022567 for ; Wed, 20 Jan 2010 00:43:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755118Ab0ATAmf (ORCPT ); Tue, 19 Jan 2010 19:42:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753133Ab0ATAme (ORCPT ); Tue, 19 Jan 2010 19:42:34 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:45660 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab0ATAmd (ORCPT ); Tue, 19 Jan 2010 19:42:33 -0500 Received: by ewy19 with SMTP id 19so478726ewy.21 for ; Tue, 19 Jan 2010 16:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=oluwMnGhl5Q2d7SJUc5dWe+GeILG3EsfYjI1A3ZU5qk=; b=CmKGZ0/LldeXa/DY9/q4Bm8MI6YvfnhNyig4mLlsoaL9GPf38ajtVpjm9YCojzrYJ6 K7ceV6D8Jk9ckVVJyVOWVGGPkMcACLnio6n1anugM3dTFC9s8ySCMLrRt706QLfs7dNp 2CTP0D+TQkyeNJ3Qdx9LKteAW6+xpt1q+FySw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=nWK2QF6zcUNxtLDyendNpbz7X9x3Mzocttpe35oyROSogefWUs8YmskUeTdDjckkBX LT/M+aErgQHYyvDKtAwjS/trfJVxN9tG1m4plEFahG0e2mJVZeoP1xop4TPwzbTnTkNg MkV2eJqc8zNdpFLGOkc5oLirHylMDd/dJBhzQ= Received: by 10.213.25.83 with SMTP id y19mr6199001ebb.78.1263948152197; Tue, 19 Jan 2010 16:42:32 -0800 (PST) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 10sm10003963eyz.15.2010.01.19.16.42.31 (version=SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 16:42:31 -0800 (PST) Message-ID: <4B5652A2.8060500@gmail.com> Date: Wed, 20 Jan 2010 01:47:30 +0100 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: Mauro Carvalho Chehab , linux-media@vger.kernel.org, Andrew Morton , LKML Subject: [PATCH] cx23885: Wrong command printed in cmd_to_str() Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/cx23885/cx23885-417.c b/drivers/media/video/cx23885/cx23885-417.c index 88c0d24..2ab97ad 100644 --- a/drivers/media/video/cx23885/cx23885-417.c +++ b/drivers/media/video/cx23885/cx23885-417.c @@ -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: