Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp466805pxx; Thu, 29 Oct 2020 06:55:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuuESb0I1i876iTTaGQ35CktGOEP3/g0KRmvlWSbIiwAV5AUI0XJi8d1HmHZnMrxK/MFgo X-Received: by 2002:a17:906:e83:: with SMTP id p3mr2884135ejf.243.1603979714858; Thu, 29 Oct 2020 06:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603979714; cv=none; d=google.com; s=arc-20160816; b=qZZt36mpQkwqFmoVkO2JrXF+bylTarh0BkWAQ/5td9Ifzo9/we4plgeFaZ/lNJaEyi oIAODGRoi2a3yhUFyhIZ6oFQA7M1xTeUhWpUoBWsufeaE0CsMX4PITV/4R7Hal+9PP3V nkjvgoBkQ/srfHKa2S8e9rySYo02iAVlmanxYdRfMaewm2W3/f2KX/LtVFpIJbt1CzPy p00pHodpdW7WmwAnTcGHzk90BSWZdP8297hKJJQ63UZIPvg963olPHjrTdnYWdiK2Pc7 UeBnw94BNkRpW4lKBc1PBGB6BWNsrrwwvQHlZIepRFc2IJuLmh8lPDq+v3x3nimNUUB6 W7nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eA04sOFVSRbhCntI4HmcAViAIUD+AR3aQKjztIrg67U=; b=nYpXm+SpEtoE3gqkwRobU+6M/Bme/VCjsSW1IebRRwedc6raxJ3F8s2GbxlscjTmw0 vBq0Funci9vROjObKAOotkqt5tshd4z8NUUEFm8wKiQf5062vdh54S9l+mGNAFyegvB3 gGiqnVfPOVyrzC01VgKFhtlKr2i9igap6Q67tF6boQ8pTPYYzkbx4ncCo/Kdk8c5ADaf ZIqZzDxtNiNZ6rdQFisjff25UZlFq55TgixzLAQXkpr4JrbAwLk+Gpp9/6Eh2He/YsXB wjEejym9q/IWv8Rlb4+EwJuWDLXdghXI6njQabf0a6AhaYFNe5WsJI3EPx/syVOMuSE+ sV5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g4eoIJwr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lm6si1810668ejb.334.2020.10.29.06.54.51; Thu, 29 Oct 2020 06:55:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=g4eoIJwr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbgJ2Nx2 (ORCPT + 99 others); Thu, 29 Oct 2020 09:53:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:39172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725300AbgJ2Nx2 (ORCPT ); Thu, 29 Oct 2020 09:53:28 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3C5D92076A; Thu, 29 Oct 2020 13:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603979605; bh=I1TLmixXOBKPdf1EpArD7mgfV14HIqnNUN5GULknKVs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g4eoIJwrM+gIrcTvb/nG1LtR+vN0fqgQsXKQvorEwPzj8XH2J6kFh9ismrGYZMr9n xnXBhgNfmlQnZ+mR7L6Z61Mw12YII4AK5b/ijcJLfl7F9ATxAfq3xi7NCI21Cl/6Q9 h5seO/Duunl9SwhYxbWmEoP27f5NH4iK9dHwwpmA= Date: Thu, 29 Oct 2020 14:54:15 +0100 From: "gregkh@linuxfoundation.org" To: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Cc: "hj2.im@samsung.com" , "manivannan.sadhasivam@linaro.org" , "linux-kernel@vger.kernel.org" , "linux-input@vger.kernel.org" , "rydberg@bitmath.org" , Jungrae Kim Subject: Re: [PATCH v2] input: add 2 kind of switch Message-ID: <20201029135415.GA3470996@kroah.com> References: <20201029132747epcms1p8fae559dff47bf0eebdcc9f94efd9a1bf@epcms1p8> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 01:41:57PM +0000, Barnabás Pőcze wrote: > Hi > > > [...] > > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h > > index 5b08a473cdba..897f5a3e7721 100644 > > --- a/include/linux/mod_devicetable.h > > +++ b/include/linux/mod_devicetable.h > > @@ -320,7 +320,7 @@ struct pcmcia_device_id { > > #define INPUT_DEVICE_ID_LED_MAX 0x0f > > #define INPUT_DEVICE_ID_SND_MAX 0x07 > > #define INPUT_DEVICE_ID_FF_MAX 0x7f > > -#define INPUT_DEVICE_ID_SW_MAX 0x10 > > +#define INPUT_DEVICE_ID_SW_MAX 0x12 > > #define INPUT_DEVICE_ID_PROP_MAX 0x1f > > > > #define INPUT_DEVICE_ID_MATCH_BUS 1 > > diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h > > index 0c2e27d28e0a..8ca2acee1f92 100644 > > --- a/include/uapi/linux/input-event-codes.h > > +++ b/include/uapi/linux/input-event-codes.h > > @@ -889,7 +889,9 @@ > > #define SW_MUTE_DEVICE 0x0e /* set = device disabled */ > > #define SW_PEN_INSERTED 0x0f /* set = pen inserted */ > > #define SW_MACHINE_COVER 0x10 /* set = cover closed */ > > -#define SW_MAX 0x10 > > +#define SW_COVER_ATTACHED 0x11 /* set = cover attached */ > > +#define SW_EXT_PEN_ATTACHED 0x12 /* set = external pen attached */ > > +#define SW_MAX 0x12 > > #define SW_CNT (SW_MAX+1) > > [...] > > This part of the patch conflicts with another one: > https://lore.kernel.org/linux-input/20201026144512.621479-1-markpearson@lenovo.com/ Is that merged? If not, it's fine as-is until then, and someone has to pick to go first :) But, most importantly, the questions asked last time about this patch have not been addressed at all :( thanks, greg k-h