From patchwork Fri Apr 26 20:02:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 2495581 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 2597B3FC64 for ; Fri, 26 Apr 2013 20:04:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756143Ab3DZUEY (ORCPT ); Fri, 26 Apr 2013 16:04:24 -0400 Received: from mail-ea0-f177.google.com ([209.85.215.177]:49048 "EHLO mail-ea0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754611Ab3DZUEY (ORCPT ); Fri, 26 Apr 2013 16:04:24 -0400 Received: by mail-ea0-f177.google.com with SMTP id q10so890294eaj.36 for ; Fri, 26 Apr 2013 13:04:22 -0700 (PDT) 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=3K+uhl7TjFu8W7xihAhPNsW/Nk1UjkqJ3PoGxDT0xR0=; b=D0Bm+OwZEbMpZXxQ9phtcVSxzJCFnPQebpV58XbC7JYnwzcrffqxiPlTciHrgsV3yP 6xoeDnVzTF5YtW6yCFp/1q/ZvCX6BsRL9dRUgXNqpQRBhNftx3tBIIKXeM++4UZCwOQm WE8J3AP4zIzrgz8v9mSTJ/HTNEGKxJRhFMpc6Lw1Gf6EC3SSmfmRqEG/LH1suOIn85/5 gQGjgkcwiGjgtP6qvh02uZPQuExw6I7dtv5n6am6qqsWzXuH+K3MqD/SrZ9tLSyNe311 hr5GBhvPduJxJrDs8+aPnoRSyfobDcZRjGTd4WhdDqKY4UvRUbAH+Av/zpMXU9Gu6UAv Nrhw== X-Received: by 10.15.52.70 with SMTP id o46mr46692499eew.14.1367006662767; Fri, 26 Apr 2013 13:04:22 -0700 (PDT) Received: from localhost.localdomain (093105185086.warszawa.vectranet.pl. [93.105.185.86]) by mx.google.com with ESMTPSA id cd3sm17841788eeb.6.2013.04.26.13.04.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 13:04:21 -0700 (PDT) From: Sylwester Nawrocki To: kgene.kim@samsung.com, FlorianSchandinat@gmx.de Cc: linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki Subject: [PATCH 6/9] s3c2410fb: Enable display by default Date: Fri, 26 Apr 2013 22:02:20 +0200 Message-Id: <1367006543-5458-7-git-send-email-sylvester.nawrocki@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1367006543-5458-1-git-send-email-sylvester.nawrocki@gmail.com> References: <1367006543-5458-1-git-send-email-sylvester.nawrocki@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Enable the display with default configuration at system start up. This ensures the display is activated also when FRAMBUFFER_CONSOLE is not set. Signed-off-by: Sylwester Nawrocki --- drivers/video/s3c2410fb.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 479ab45..da8b6c2 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c @@ -969,6 +969,8 @@ static int s3c2410fb_probe(struct platform_device *pdev) goto free_video_memory; } + s3c2410fb_set_par(fbinfo); + ret = register_framebuffer(fbinfo); if (ret < 0) { dev_err(&pdev->dev, "Failed to register framebuffer device: %d\n",