Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2853720imb; Mon, 4 Mar 2019 16:19:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxpEgaeXeQJweQjY64ua+vTNc8OpoY9lPM/SEZ/EWvSzKfV0MltBr7T7kE2285venKmBrFp X-Received: by 2002:a17:902:b58c:: with SMTP id a12mr23230599pls.102.1551745176531; Mon, 04 Mar 2019 16:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551745176; cv=none; d=google.com; s=arc-20160816; b=kC1TGNuogYIAE7QJhq018o6DE0m1iGb4DzgZdulPCmWu1tVLDGy72nm28AMoTKlpv/ +v8JjSLzISBHC8il6S/75O0ug18BpCxmL05Ydtt4TmwGqYfNDsEQougDYTOWjfPPGNPb EeYQ/GQqKvFFfO0ErQRCstQVT8euknjkR2wsFBNmsQ5dVYwH+pNJxEGlhaNMXU1/ST7g S13JfAEHzMxkoD7k05RBXuEnJUMU/Y9VOoqZPY8tnlfMjnjX+tbjR4BQNhfdiRToKZzB iL7/Gr9HykHNjq2GQ7ae45ZJ0gUF203dVCjJccFi/r6jKwSnBS2Dg+fGotUumo/z+8jS stvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=SWEzlJxbXWw0xhwMl6J9vnnEi97JIsUv6l0nZ+D/Zeo=; b=UXEgHZDL8snMiUKWlzLuqrVBhYBS0vBUnEDZ1hg93ocjjrGRtX/6k1wtPYeXh70GhE 7roS6ZiuzaFs0hZQMo1VXeu+jLaG8OKVvyjnuCo2RR0f+mOufQ+egjcZtpCQmCjJdAwS Xwc03lCXE7M5bX/tQyc73UYVjb0rqXF5bLIPG9XsDUAVq6YoQBMhTU3LxEifkFyF2Xm5 cShznpAT1P6Tg5Ow6ct0PpX8/jGEeDJsovCBl3dKXyC5n6hVuE2Dw3Vgs+bQK6u+HhNf w63/Y8Rnu9lv9gWBiHgG5xfGxuJgCjSZLc8AFPPqInPUdgkSyZC7QHD8EMMmMpGzsuEo bX8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si6218991pgv.157.2019.03.04.16.19.21; Mon, 04 Mar 2019 16:19:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726590AbfCEATC (ORCPT + 99 others); Mon, 4 Mar 2019 19:19:02 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:50997 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfCEATC (ORCPT ); Mon, 4 Mar 2019 19:19:02 -0500 Received: from [192.168.1.110] ([77.2.115.28]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MJVY8-1gh6Wb3tpg-00JvBg; Tue, 05 Mar 2019 01:18:54 +0100 Subject: Re: [PATCH 2/3] x86: apuv2: fix input dependencies To: Arnd Bergmann , Darren Hart , Andy Shevchenko Cc: Linus Walleij , Enrico Weigelt , Andy Shevchenko , linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190304201930.1622839-1-arnd@arndb.de> <20190304201930.1622839-2-arnd@arndb.de> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: Date: Tue, 5 Mar 2019 01:18:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190304201930.1622839-2-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:C7vffW4QSdQDVRshbGd9qoU1jB2/16z0xhzCsXMj1FJFXXD3QnO u9oCGFHRCi0L1tLtXi0vYqKUTeWdkjcV8uZyFPob8YeEfMlCh+duNC4d/5tBGDQ4k7RnCoD ENXEm5XfYc9eni59bIv2J8Yg466832y84oDtF5km2yrJw6WDDSLH97QWGCPNHHpIH1yd5vJ 9R77E0qVXuxUmNQ7olQ+w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:pdRzrBHxIZ4=:r/0/JAkELntYwV5ClbzqEo /DrwNHhzkKVGKycNh5lpq7YEGDkPf4wOtg7A28cYEExiF3esLD3ks8KfhvDMu5SQwGm91rXTn k1bDhKq74REVGKFRWF6lf82vSrn7CPdpXzBJv1M97weZ7UU9yx9/XucRNfv1qKqAhxD+jn5b8 HO9LA9ALmJI6bTpPKfFfsSr0TqlTDTXYMW+i32VY8hgQBC7W7BoKetoqe4AFY/hPGH5go09vC afhu6NDy9CSN3u15HIvRb/dgnarrCUSE9pNbiWV+1WAeSofffIHDNLmKD7PQambbAV3S/Dgt+ gT+OKRM4c3NF/0bMKkVEg1+nE69jWVwerHDV2QC9i0QIYyqkjEqlfugAANnwuczvYE8vzDRUK 9M3U5bH2Jklv11+Z8Mu4QecKDuk5c+MxC1sNPYhHY8DMGyxSSIqgdYEQW5WNzRG//5p5ZBznN Xydff5zKN8tUtgJ6BE0tJUhjhIgw+2lOCsTfD/SfH7EcatISkC+6Rm6/Vwr9/Ghp1fM9JzuOu LGzj7aNvFu77BViYILUs18rtN51oRaJm3DTHZFA6Egt8okEpeo+UjZANBo/yp5/JouvxCc5Ol hLtAcbtRXSFhk5RzDI7Xzi9ibL2b744E1iXOj84Y+lhntPtwod7we3c9fLo1KU7h4BaDiEZ8K KZhChwbTkuj45kVlFRrbF2mth0Fc6e6FczrqBNERFQ0e0snPiKKX8KV+DAoLIhqr3yGYZf2GT xREl3Z1ibbz4ntPLvk1/cUuSqapqt4JQthJ94g2avo1RZXgl4T9qSe9HdWI= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04.03.19 21:19, Arnd Bergmann wrote: > This could be fixed using either a dependency or a 'select' statement. > I'm chosen 'depends on' here since it is simpler has a lower risk of > introducing circular dependencies. I'd rather prefer using 'select'. Otherwise the driver won't appear at all if INPUT or INPUT_KEYBOARD aren't enabled (eg. when you start w/ minimal config - which I do frequently), and people have a hard time actually finding/enabling it. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287