Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5673586ybi; Sun, 21 Jul 2019 00:25:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmlQyYleWdMQX5CCciCx6zSRAXrQKAG5Kl8x6761gh8HSD0mZiycETNrTrZEEHeo9azy5l X-Received: by 2002:a63:6d6:: with SMTP id 205mr66648327pgg.262.1563693920107; Sun, 21 Jul 2019 00:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563693920; cv=none; d=google.com; s=arc-20160816; b=cSXAfl6U9cn3C4zGr9IU380panQQHGq3PHoD1HGIIZlvYju/R+IyTvs5yPKZ33cv3J QBQRwp6enT0Dd0zwYAdpaKSBDga0XoB5Rvd9Xt7sDp4lCqtGVOb0oKdiyYvDS86Vrz0H /OI/iZvr7gHBNu2Bnpsa5l+jAh0w+819MfOeIfXQeIUmZYEW5UiN8LUe+zhF6ZQMx4HL sv3bKJ8pc7lLAXpWLNdw5/vKl71kzTXr6fdkHzCMkG2EntpTp2joTJO0E2/pdOLOvWRH t0KSFLRi9W/fcphtJU7NUYgWxlqGi/zJVd6OUH4uikT/rWnd3RR9INHDooogrEZneWzS Gy6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:dkim-filter:date; bh=N+DAdWoheHn2b/cFIDXbfLsH1bX5Od7/izI9Zu/NVbo=; b=cv+7dmvrnlEcRCuuZJIRYtT7GTGgkiabdB1y4ZYmvZbH6HCkQfkYfMBCuj8ztCozPt 4ueuln4zx/GXB3qOT3KVx7b4X5huFtWDSdArTUJ+uFS3J8TfaJS53GMAy5EoRmfYLtKq 7J5IpMH/P9EGFbmcm0/ECF2qKTZMIyh54NVrf1OfQmPi9sGGUyJiW8jSuOSxKctmFwpY cec2F10ukWMZNOQ3UQ229dQgdTTOYVWu4TEzvqnuc5gc9bkbs1Qv6LRNFd2o6/2Y7bL5 neRelf50NHVMGaROseuVaHj3OhH835wfS59pIfj0/twr76car5TUvyWbo8B5ndSDl01B BXRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@innovation.ch header.s=default header.b=Nj9KSuzh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11si5647003pfi.3.2019.07.21.00.24.50; Sun, 21 Jul 2019 00:25:20 -0700 (PDT) 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; dkim=pass header.i=@innovation.ch header.s=default header.b=Nj9KSuzh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726275AbfGUHWM (ORCPT + 99 others); Sun, 21 Jul 2019 03:22:12 -0400 Received: from chill.innovation.ch ([216.218.245.220]:36076 "EHLO chill.innovation.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbfGUHWM (ORCPT ); Sun, 21 Jul 2019 03:22:12 -0400 Date: Sun, 21 Jul 2019 00:22:11 -0700 DKIM-Filter: OpenDKIM Filter v2.10.3 chill.innovation.ch F0A56640132 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=innovation.ch; s=default; t=1563693731; bh=N+DAdWoheHn2b/cFIDXbfLsH1bX5Od7/izI9Zu/NVbo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nj9KSuzhGp7+oX7JgCKiiahCdEOnbp5cqo+ObVuqcoHKYc9EeCL5J4aAgDuWwYAVC KV0kTCx6IIKf/saxRnfJvExIBM11LzJJjB1dAtFzf1XGgpmdR/ERu8+o+Otxsj+KWE CiMiZE3iQhXuZXb/hkwy0xxHp6yXL9uYwhPabMCH5l7l8WsMMs4xucXcF61MUVlDPQ XJnuoZipfPSDJODibTAMTh4thhLX5IYW+aoXzKevIdUMx/zt1kXIOQf6GC/rzr5U+R tkiSrjstYJVB6U5dZiUqnTJNCv/7fifupgueFEUKmhJ1odCtgMFFyBReizqocF0ByA 14Ckbj7SMG2fw== From: "Life is hard, and then you die" To: Andrzej Hajda Cc: Arnd Bergmann , Dmitry Torokhov , Randy Dunlap , dri-devel , LKML , Inki Dae , Laurent Pinchart , "linux-input@vger.kernel.org" Subject: Re: [PATCH] drm: bridge: DRM_SIL_SII8620 should depend on, not select INPUT Message-ID: <20190721072211.GB7992@innovation.ch> References: <8baa25c0-498b-d321-4e6a-fe987a4989ba@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrzej, On Mon, Jul 01, 2019 at 11:26:25AM +0200, Andrzej Hajda wrote: > On 01.07.2019 11:23, Andrzej Hajda wrote: > > On 01.07.2019 05:39, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> A single driver should not enable (select) an entire subsystem, > >> such as INPUT, so change the 'select' to "depends on". > >> > >> Fixes: d6abe6df706c ("drm/bridge: sil_sii8620: do not have a dependency of RC_CORE") > >> > >> Signed-off-by: Randy Dunlap > >> Cc: Inki Dae > >> Cc: Andrzej Hajda > >> Cc: Laurent Pinchart > >> Cc: dri-devel@lists.freedesktop.org > >> --- > >> Linus has written this a couple of times in the last 15 years or so, > >> but my search fu cannot find it. And there are a few drivers in the > >> kernel tree that do this, but we shouldn't be adding more that do so. > > > > The proper solution has been already posted [1], but it has not been > > applied yet to input tree? > > > > Randy are there chances your patchset will appear in ML in near future, > > or should I merge your sii8620 patch alone? > > > Ups, I used wrong surname, I meant Ronald, added him input ML to cc. Looks like the applespi patches got merged, but they were changed at the last minute to remove the imply's that lead to the Kconfig dependency on the changes here. And I'm guessing for that reason the patch [1] was not sent with that pull request in the end. In short it seems to me that it would be best now if you sent a pull request for patch [1] and Arnd Bergmann's followup patch that was discussed in the last few days [2]. Sorry for all the delay. Cheers, Ronald > > [1]: > > https://lore.kernel.org/lkml/20190419081926.13567-2-ronald@innovation.ch/ [2] https://lore.kernel.org/lkml/20190718134240.2265724-1-arnd@arndb.de/ > > Regards > > > > Andrzej > > > > > > > >> drivers/gpu/drm/bridge/Kconfig | 3 +-- > >> 1 file changed, 1 insertion(+), 2 deletions(-) > >> > >> --- lnx-52-rc7.orig/drivers/gpu/drm/bridge/Kconfig > >> +++ lnx-52-rc7/drivers/gpu/drm/bridge/Kconfig > >> @@ -83,10 +83,9 @@ config DRM_PARADE_PS8622 > >> > >> config DRM_SIL_SII8620 > >> tristate "Silicon Image SII8620 HDMI/MHL bridge" > >> - depends on OF > >> + depends on OF && INPUT > >> select DRM_KMS_HELPER > >> imply EXTCON > >> - select INPUT > >> select RC_CORE > >> help > >> Silicon Image SII8620 HDMI/MHL bridge chip driver. > >> > >> > >> > >> >