From patchwork Tue Feb 5 13:35:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 2097731 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 3CA933FC23 for ; Tue, 5 Feb 2013 13:37:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755203Ab3BENhL (ORCPT ); Tue, 5 Feb 2013 08:37:11 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:37176 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754793Ab3BENhJ (ORCPT ); Tue, 5 Feb 2013 08:37:09 -0500 Received: by mail-lb0-f174.google.com with SMTP id l12so222705lbo.5 for ; Tue, 05 Feb 2013 05:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=dB0FkWYoOClvDgNo2Mjcf1uSZ6hI8kx6Ax2l9Zbdl+w=; b=UpASEwUsIFUEzU3bRTZCcXicHXE2urFACimZ4h2NJMamfVKUV/qagJ1J+p/PQfQwML QezfTnabG+jaz6tjo1KmGkwes3HePZcriDHCjtWY2nIxO5YaEPpm7fSOphsfNhqTCTQz IapKRCXBnwa03gquN/xv+dL6acXCJE+6ZFfGJk4Qtslb+PzAGchI5XAeW/LxbH5XgGCm f5J3kg55v0orwIwPb/1yZR9BUeisuV0TC5aTvjyGmR0qsmGemb9PVVqu8/ZcIL47TT0V 5T/cq34++9j/XfZJ3psFpQwwAFUQ8FMA5nN6Fjm5W9dN2L48VHWyXr3CJYY6jrm9SFjD sQuQ== X-Received: by 10.112.44.229 with SMTP id h5mr9942015lbm.12.1360071427328; Tue, 05 Feb 2013 05:37:07 -0800 (PST) Received: from xi.lan (c83-179-13-247.cust.tele2.se. [83.179.13.247]) by mx.google.com with ESMTPS id w5sm136967lbj.15.2013.02.05.05.37.05 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 05:37:05 -0800 (PST) Received: from johan by xi.lan with local (Exim 4.80.1) (envelope-from ) id 1U2ige-00014K-Ic; Tue, 05 Feb 2013 14:35:48 +0100 From: Johan Hovold To: Nicolas Ferre Cc: Florian Tobias Schandinat , Jean-Christophe PLAGNIOL-VILLARD , Andrew Victor , Peter Korsgaard , Haavard Skinnemoen , Hans-Christian Egtvedt , linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, Johan Hovold Subject: [PATCH 3/5] atmel_lcdfb: remove unsupported 15-bpp mode Date: Tue, 5 Feb 2013 14:35:13 +0100 Message-Id: <1360071315-4032-4-git-send-email-jhovold@gmail.com> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1360071315-4032-1-git-send-email-jhovold@gmail.com> References: <20130129135435.GN7360@game.jcrosoft.org> <1360071315-4032-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. Acked-by: Peter Korsgaard Signed-off-by: Johan Hovold --- 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 025428e..93910e3 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;