From patchwork Thu Sep 26 11:13:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 2947931 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 20B56BFF05 for ; Thu, 26 Sep 2013 11:14:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB3DB2021A for ; Thu, 26 Sep 2013 11:14:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C36A9201DE for ; Thu, 26 Sep 2013 11:14:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756493Ab3IZLOI (ORCPT ); Thu, 26 Sep 2013 07:14:08 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46742 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756142Ab3IZLOH (ORCPT ); Thu, 26 Sep 2013 07:14:07 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3cltn750j7z3hjBt; Thu, 26 Sep 2013 13:14:03 +0200 (CEST) X-Auth-Info: XufGHT6jPYjCwOhx8o3Gku6kXbYKt2Ze9z+khp2uIzc= Received: from chi.lan (unknown [195.140.253.167]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 3cltn72lRXzbbsM; Thu, 26 Sep 2013 13:14:03 +0200 (CEST) From: Marek Vasut To: linux-fbdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Marek Vasut , Fabio Estevam , Shawn Guo , Tomi Valkeinen Subject: [PATCH] video: mxsfb: Add missing break Date: Thu, 26 Sep 2013 13:13:58 +0200 Message-Id: <1380194038-5148-1-git-send-email-marex@denx.de> X-Mailer: git-send-email 1.7.10.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing break into the restore function. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Shawn Guo Cc: Tomi Valkeinen --- drivers/video/mxsfb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index d250ed0..27197a8 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -620,6 +620,7 @@ static int mxsfb_restore_mode(struct mxsfb_info *host) break; case 3: bits_per_pixel = 32; + break; case 1: default: return -EINVAL;