Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp358629imp; Thu, 21 Feb 2019 02:58:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IYDbSicrCRtjhZ0vbkLtH5xS2xrPAk4qmSmovMEh7rKXTL3ydvpy4PujggghbPiPdTxBc2e X-Received: by 2002:a63:29c3:: with SMTP id p186mr34008036pgp.24.1550746709682; Thu, 21 Feb 2019 02:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550746709; cv=none; d=google.com; s=arc-20160816; b=sUbX87XCRzCm+tRJE/mDpv1p/tLjhS5N5BQ/JmxG28ruwVz1n2ufx3py8JT/gysgX8 VsgZUhIRk4nW1NGKGqQ9aoGUOn4gTBKniemcK5HOgs1Q+uopTpRgRkdMIQJjvleUFcm1 R9iJIyJ9otBdpjQzZYW3vBvBe9tCQJTV3lybD0UIDhaTL0ojrHA+OGo8avtvkWDu3zY3 sxAW/dG1be1uIkuJR8Zkt2tcYUd3+EGx8DrE2HCa4SazrAPdYYIQ4um1MCUfHO7PUi7a 6/65krEw7T9YM6EIY/8lYX+OEIicp0XIT2tHC+Hi2CVRYqt70USZ25R5foWlT43kwTxr H8tA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :dkim-filter:from; bh=q3Ok0ooPhxoTN5pkbjmEd6mSh6Qb9qHDOP8fWK5MHyY=; b=B3/R6f0VsmN6LPDV+BMeM3ZD5LqusDlkdB1gCehMkQz/VYRt7Nf7v3SJnFFGE2mKTY URfkcPJcx0hIQRwO/ty86lGvTy6owxtXGe/I1Q0kg0UBoyt6zw2kGZx6Vo/2z4gpPhhx rjM1wcI/lANDEc6P0CkzhwGTZnZLlpF8qipBW2jXfxGc74yAdI2oRmHoCtexK5Wx1FO/ xyGo0GlWtJ3HUq0pJfteFgClbvyy/TBqkEY2O8WhJIFHiu4xyKy+MyAKgzTcr2t0tgyh i+oYGhh9GbLJB3dPyl5BTfXtwb0Mty7R3DqWHzzF5W5nWFhwyG0e2GwjSWLY5icND1Cv NBDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@innovation.ch header.s=default header.b=U3+OyKNB; 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 y62si17850451pgd.465.2019.02.21.02.58.14; Thu, 21 Feb 2019 02:58:29 -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; dkim=pass header.i=@innovation.ch header.s=default header.b=U3+OyKNB; 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 S1727468AbfBUK4S (ORCPT + 99 others); Thu, 21 Feb 2019 05:56:18 -0500 Received: from chill.innovation.ch ([216.218.245.220]:50860 "EHLO chill.innovation.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbfBUK4S (ORCPT ); Thu, 21 Feb 2019 05:56:18 -0500 Received: from localhost (localhost [127.0.0.1]) by chill.innovation.ch (Postfix) with ESMTP id C011764128D; Thu, 21 Feb 2019 02:56:17 -0800 (PST) X-Virus-Scanned: amavisd-new at Received: from chill.innovation.ch ([127.0.0.1]) by localhost (chill.innovation.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id E7-Bsr_WAYbQ; Thu, 21 Feb 2019 02:56:16 -0800 (PST) From: =?UTF-8?q?Ronald=20Tschal=C3=A4r?= DKIM-Filter: OpenDKIM Filter v2.10.3 chill.innovation.ch B09E16401A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=innovation.ch; s=default; t=1550746576; bh=q3Ok0ooPhxoTN5pkbjmEd6mSh6Qb9qHDOP8fWK5MHyY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U3+OyKNBWbAgW+cEko5l0AEAL9zhmA2Rr0yxxh8HWLKlBfeByReOhDUY9vp4lkzZU UACKkSBULWxFkGEeS7BKn2tw++ozXl38pYTu3bdpQ2A+aVSB4M8oz6ZhYpHrL4x8BC MRUMULcbpCNAwknDAPfu3bEf8xaMHmT9u9lzhiirMfzxABw20nLIZYgJYw0tPz48zv pVonggQxh59x/EJwrwOd7Txcm67qJ/DtkcUDktXlxcuwJNIbSiuFdMdDbR1XLkXZSS 5Yq62MzPHrB9E/+44bM1hiHWiW8CaKC6SPWFfrQjmFD75IsFkkFEk8fNGLaVr/nh4/ qtXGUibDL7sbQ== To: Dmitry Torokhov , Henrik Rydberg Cc: Lukas Wunner , Federico Lorenzi , Andy Shevchenko , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Inki Dae , Andrzej Hajda Subject: [PATCH v2 1/2] drm/bridge: sil_sii8620: depend on INPUT instead of selecting it. Date: Thu, 21 Feb 2019 02:56:08 -0800 Message-Id: <20190221105609.5710-2-ronald@innovation.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221105609.5710-1-ronald@innovation.ch> References: <20190221105609.5710-1-ronald@innovation.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit d6abe6df706c66d803e6dd4fe98c1b6b7f125a56 (drm/bridge: sil_sii8620: do not have a dependency of RC_CORE) added a dependency on INPUT. However, this causes problems with other drivers, in particular an input driver that depends on MFD_INTEL_LPSS_PCI (to be added in a future commit): drivers/clk/Kconfig:9:error: recursive dependency detected! drivers/clk/Kconfig:9: symbol COMMON_CLK is selected by MFD_INTEL_LPSS drivers/mfd/Kconfig:566: symbol MFD_INTEL_LPSS is selected by MFD_INTEL_LPSS_PCI drivers/mfd/Kconfig:580: symbol MFD_INTEL_LPSS_PCI is implied by KEYBOARD_APPLESPI drivers/input/keyboard/Kconfig:73: symbol KEYBOARD_APPLESPI depends on INPUT drivers/input/Kconfig:8: symbol INPUT is selected by DRM_SIL_SII8620 drivers/gpu/drm/bridge/Kconfig:83: symbol DRM_SIL_SII8620 depends on DRM_BRIDGE drivers/gpu/drm/bridge/Kconfig:1: symbol DRM_BRIDGE is selected by DRM_PL111 drivers/gpu/drm/pl111/Kconfig:1: symbol DRM_PL111 depends on COMMON_CLK According to the docs, select should only be used for non-visible symbols. Furthermore almost all other references to INPUT throughout the kernel config are depends, not selects. Hence this change. CC: Inki Dae CC: Andrzej Hajda Signed-off-by: Ronald Tschalär --- drivers/gpu/drm/bridge/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 9eeb8ef0b174..bc838e7bb7c8 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -83,9 +83,9 @@ config DRM_PARADE_PS8622 config DRM_SIL_SII8620 tristate "Silicon Image SII8620 HDMI/MHL bridge" depends on OF + depends on INPUT select DRM_KMS_HELPER imply EXTCON - select INPUT select RC_CORE help Silicon Image SII8620 HDMI/MHL bridge chip driver. -- 2.20.1