From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760024AbbA3JhJ (ORCPT ); Fri, 30 Jan 2015 04:37:09 -0500 Received: from mx1.scotdoyle.com ([23.226.141.211]:43503 "EHLO mx1.scotdoyle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbbA3JhG (ORCPT ); Fri, 30 Jan 2015 04:37:06 -0500 Date: Fri, 30 Jan 2015 09:35:13 +0000 (UTC) From: Scot Doyle To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard cc: Geert Uytterhoeven , Richard Weinberger , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 0/2] fbcon: user-defined cursor blink interval In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since users prefer different fbcon cursor blink intervals, allow the interval to be set via sysfs. The current interval of 200 milliseconds is retained as the default. Tested with intelfb. v2: Use kstrtos16() instead of kstrtoul() and min_t() as suggested by Geert Uytterhoeven v3: Add error messages as suggested by Tomi Valkeinen v4: Add rationale into the patches as suggested by Richard Weinberger v5: Return error codes instead of logging error messages (my mistake) v6: Uncomment the correct line (my mistake again!) Scot Doyle (2): fbcon: store cursor blink interval in fbcon_ops fbcon: expose cursor blink interval via sysfs drivers/video/console/fbcon.c | 70 +++++++++++++++++++++++++++++++++++++++++-- drivers/video/console/fbcon.h | 1 + 2 files changed, 69 insertions(+), 2 deletions(-) -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Doyle Date: Fri, 30 Jan 2015 09:35:13 +0000 Subject: [PATCH v6 0/2] fbcon: user-defined cursor blink interval Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard Cc: Geert Uytterhoeven , Richard Weinberger , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Since users prefer different fbcon cursor blink intervals, allow the interval to be set via sysfs. The current interval of 200 milliseconds is retained as the default. Tested with intelfb. v2: Use kstrtos16() instead of kstrtoul() and min_t() as suggested by Geert Uytterhoeven v3: Add error messages as suggested by Tomi Valkeinen v4: Add rationale into the patches as suggested by Richard Weinberger v5: Return error codes instead of logging error messages (my mistake) v6: Uncomment the correct line (my mistake again!) Scot Doyle (2): fbcon: store cursor blink interval in fbcon_ops fbcon: expose cursor blink interval via sysfs drivers/video/console/fbcon.c | 70 +++++++++++++++++++++++++++++++++++++++++-- drivers/video/console/fbcon.h | 1 + 2 files changed, 69 insertions(+), 2 deletions(-) -- 2.1.4