From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932457AbbAESAM (ORCPT ); Mon, 5 Jan 2015 13:00:12 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38315 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932229AbbAESAJ (ORCPT ); Mon, 5 Jan 2015 13:00:09 -0500 X-IronPort-AV: E=Sophos;i="5.07,701,1413237600"; d="scan'208";a="95398694" Date: Mon, 5 Jan 2015 19:00:05 +0100 From: Samuel Thibault To: Dmitry Torokhov Cc: Pavel Machek , David Herrmann , akpm@linux-foundation.org, jslaby@suse.cz, Bryan Wu , rpurdie@rpsys.net, linux-kernel@vger.kernel.org, Evan Broder , Arnaud Patard , Peter Korsgaard , Sascha Hauer , Rob Clark , Niels de Vos , linux-arm-kernel@lists.infradead.org, blogic@openwrt.org, Pali =?iso-8859-1?Q?Roh=E1r?= Subject: Re: [PATCHv5 2/2] INPUT: Introduce generic trigger/LED pairs to input LEDs Message-ID: <20150105180005.GX3804@type.bordeaux.inria.fr> Mail-Followup-To: Samuel Thibault , Dmitry Torokhov , Pavel Machek , David Herrmann , akpm@linux-foundation.org, jslaby@suse.cz, Bryan Wu , rpurdie@rpsys.net, linux-kernel@vger.kernel.org, Evan Broder , Arnaud Patard , Peter Korsgaard , Sascha Hauer , Rob Clark , Niels de Vos , linux-arm-kernel@lists.infradead.org, blogic@openwrt.org, Pali =?iso-8859-1?Q?Roh=E1r?= References: <20141226232116.GA5069@type> <20141226232310.GD5069@type> <20150104232838.GA14912@dtor-glaptop> <20150104234501.GJ25336@type.youpi.perso.aquilenet.fr> <20150105174205.GB35592@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150105174205.GB35592@dtor-ws> User-Agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry Torokhov, le Mon 05 Jan 2015 09:42:05 -0800, a écrit : > The input device's capabilities (with the exception of keymap) should > not change after device registration. If uinput allows that we should > fix it there. Ah, I didn't notice the content of uinput_set_bit() there. It seems to be making sure that the device hasn't been created yet indeed. All good then. Samuel