From patchwork Mon Dec 10 12:28:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 1857891 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id EEB694006A for ; Mon, 10 Dec 2012 12:29:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752281Ab2LJM3w (ORCPT ); Mon, 10 Dec 2012 07:29:52 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:42776 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306Ab2LJM3v (ORCPT ); Mon, 10 Dec 2012 07:29:51 -0500 Received: by mail-la0-f46.google.com with SMTP id p5so1859754lag.19 for ; Mon, 10 Dec 2012 04:29:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=AHKgKo+XU+07uycKgexTuaQPT77ZkTc3BpaphNpdyB0=; b=QtZ1TuPWBK9MUC4oMhC/JZq/IlJMEzZcYwn4Q68upM8BJNzl+6IVV2RGCqTpgAyYYc tLT58YfeJ8q4jjD4hBofyzlhgoaQwBmmk58YNU4psw+LkDaSXtFEQ9gK+1/IDbUg3Rtg R/SbUhQ/VJIUvczwaRFB4gkbCM9A/7GAmGaYxI6gIyO88Dn/1EyhLr/hO0MA/eY7bLP4 2zvz1mlM7d42ROookerhzmlDILA+3HtaeqjSakiUJr5FT4YZ3lJvQFkn3jHtb0AwVnUB rTV2aZNu0rbJv4FUtimbOTEh1iDDfWpFqt8PNMkxl4Uw9zOzK9pITby6NzN1sEq3Jw/0 ZjbA== Received: by 10.152.162.1 with SMTP id xw1mr13822885lab.3.1355142590243; Mon, 10 Dec 2012 04:29:50 -0800 (PST) Received: from xi.lan (s83-177-171-79.cust.tele2.se. [83.177.171.79]) by mx.google.com with ESMTPS id sj3sm7760472lab.2.2012.12.10.04.29.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 04:29:48 -0800 (PST) Received: from johan by xi.lan with local (Exim 4.80.1) (envelope-from ) id 1Ti2Tk-0002ir-9z; Mon, 10 Dec 2012 13:29:00 +0100 From: Johan Hovold To: Florian Tobias Schandinat Cc: Andrew Victor , Nicolas Ferre , Jean-Christophe Plagniol-Villard , linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, Peter Korsgaard , Johan Hovold Subject: [PATCH 3/3] atmel_lcdfb: remove unsupported 15-bpp mode Date: Mon, 10 Dec 2012 13:28:50 +0100 Message-Id: <1355142530-10366-4-git-send-email-jhovold@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1355142530-10366-1-git-send-email-jhovold@gmail.com> References: <1355142530-10366-1-git-send-email-jhovold@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Since commit 787f9fd23283 ("atmel_lcdfb: support 16bit BGR:565 mode, remove unsupported 15bit modes") atmel_lcdfb_check_var does not accept 15-bpp mode so remove it from atmel_lcdfb_set_par as well. Signed-off-by: Johan Hovold Acked-by: Peter Korsgaard --- drivers/video/atmel_lcdfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 1f68fa6..3cdbd53 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -567,7 +567,6 @@ static int atmel_lcdfb_set_par(struct fb_info *info) case 2: value |= ATMEL_LCDC_PIXELSIZE_2; break; case 4: value |= ATMEL_LCDC_PIXELSIZE_4; break; case 8: value |= ATMEL_LCDC_PIXELSIZE_8; break; - case 15: /* fall through */ case 16: value |= ATMEL_LCDC_PIXELSIZE_16; break; case 24: value |= ATMEL_LCDC_PIXELSIZE_24; break; case 32: value |= ATMEL_LCDC_PIXELSIZE_32; break;