From patchwork Sat Apr 28 17:26:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 155680 X-Patchwork-Delegate: agust@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id ABE3EB6FEA for ; Sun, 29 Apr 2012 03:28:16 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A1B9128356; Sat, 28 Apr 2012 19:28:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ysCO9lvMMwEl; Sat, 28 Apr 2012 19:28:06 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34D8A28236; Sat, 28 Apr 2012 19:27:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B953C28105 for ; Sat, 28 Apr 2012 19:27:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5d7odkdTy+cL for ; Sat, 28 Apr 2012 19:27:16 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by theia.denx.de (Postfix) with ESMTPS id 1AF6228131 for ; Sat, 28 Apr 2012 19:27:10 +0200 (CEST) Received: by werb10 with SMTP id b10so1167108wer.3 for ; Sat, 28 Apr 2012 10:27:10 -0700 (PDT) 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 :mime-version:content-type:content-transfer-encoding; bh=YdEWBZWruSY5qksaFdsRKpAIcRT8bEYGZw1+IYVcNFc=; b=CvjnwTaBKd2mYT/bLJ4sE9lNTf5B5NZgZZP5IF9V02oYETDP3FwoPcz17Vk57iecuE yv2ba7IMLudkvacqufVihDZ1bUROudMbEJTh+lgR6CV/3iwUx0+twM4sOag2Kb/bQrru 9FV9enrD3pjQ2vuttJt9Z4jeVPkRGLdQcdXiJTw2jgVMAkEbd+Xy4jlYBGtnESoicR36 zt2MESNkD6N5gs2WHunOS45yBtx7jtwATsVSCo0vXhk/eukb1DcPonMRVtmpJqK+grst iCnDrY/OrLgRe4qoYLqa8PJmNmTIIXXkSE2jp6sd2n86NTYuTSz1Jgxf0tWYE8gvHcdZ c5ZA== Received: by 10.180.82.136 with SMTP id i8mr7605736wiy.19.1335634030430; Sat, 28 Apr 2012 10:27:10 -0700 (PDT) Received: from Pali-EliteBook.kolej.mff.cuni.cz (atrey.karlin.mff.cuni.cz. [195.113.26.193]) by mx.google.com with ESMTPS id w10sm22440738wiy.3.2012.04.28.10.27.09 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Apr 2012 10:27:10 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: u-boot@lists.denx.de Date: Sat, 28 Apr 2012 19:26:43 +0200 Message-Id: <1335634011-9104-4-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1335634011-9104-1-git-send-email-pali.rohar@gmail.com> References: <1335634011-9104-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Cc: marcel@mesa.nl, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [U-Boot] [PATCH v2 03/11] cfb_console: Fix function console_back X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de * Do not disable and enable cursor again Signed-off-by: Pali Rohár --- drivers/video/cfb_console.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 904caf7..51ea167 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -721,7 +721,6 @@ static void console_scrollup(void) static void console_back(void) { - CURSOR_OFF; console_col--; if (console_col < 0) { @@ -730,7 +729,6 @@ static void console_back(void) if (console_row < 0) console_row = 0; } - CURSOR_SET; } static void console_newline(void)