From patchwork Fri Oct 1 21:13:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 4479 Return-path: Envelope-to: mchehab@pedra Delivery-date: Fri, 01 Oct 2010 21:45:40 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1P1qEN-0007M6-FE for mchehab@pedra; Fri, 01 Oct 2010 21:45:39 -0300 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Fri, 01 Oct 2010 21:45:39 -0300 (BRT) Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1P1qDL-0006EC-BG for mchehab@bombadil.infradead.org; Sat, 02 Oct 2010 00:44:35 +0000 Received: from vger.kernel.org ([209.132.180.67]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P1ozg-0003XW-Eb; Fri, 01 Oct 2010 23:26:24 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754064Ab0JAVOQ (ORCPT + 1 other); Fri, 1 Oct 2010 17:14:16 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:41891 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688Ab0JAVOQ (ORCPT ); Fri, 1 Oct 2010 17:14:16 -0400 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o91LDfsg022060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Oct 2010 14:13:41 -0700 Received: from localhost.localdomain (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id o91LDfOS020980; Fri, 1 Oct 2010 14:13:41 -0700 Message-Id: <201010012113.o91LDfOS020980@imap1.linux-foundation.org> Subject: [patch 2/2] drivers/media/video/cx23885/cx23885-core.c: fix cx23885_dev_checkrevision() To: mchehab@infradead.org Cc: linux-media@vger.kernel.org, akpm@linux-foundation.org, i2g2r2@gmail.com From: akpm@linux-foundation.org Date: Fri, 01 Oct 2010 14:13:41 -0700 MIME-Version: 1.0 X-Spam-Status: No, hits=-3.494 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: From: Andrew Morton It was missing the `break'. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=18672 Reported-by: Igor Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton --- drivers/media/video/cx23885/cx23885-core.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/media/video/cx23885/cx23885-core.c~drivers-media-video-cx23885-cx23885-corec-fix-cx23885_dev_checkrevision drivers/media/video/cx23885/cx23885-core.c --- a/drivers/media/video/cx23885/cx23885-core.c~drivers-media-video-cx23885-cx23885-corec-fix-cx23885_dev_checkrevision +++ a/drivers/media/video/cx23885/cx23885-core.c @@ -815,6 +815,7 @@ static void cx23885_dev_checkrevision(st case 0x0e: /* CX23887-15Z */ dev->hwrevision = 0xc0; + break; case 0x0f: /* CX23887-14Z */ dev->hwrevision = 0xb1;