Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3253735ybi; Fri, 19 Jul 2019 00:02:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyV5cc/dHIzfhY1x5kSGgN9kmDXW3IXBVvu032GAUFOraBh0MasVAzbJ43NcD5EBXdVdnHO X-Received: by 2002:a65:57ca:: with SMTP id q10mr54106077pgr.52.1563519748343; Fri, 19 Jul 2019 00:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563519748; cv=none; d=google.com; s=arc-20160816; b=r9RcoJSJbGdtiZwVwjDzBY818obNm+l8Ji/HIpNrWtrrf3HKlszNHHEB/yC6f8HbM6 3PbvkiprsjbW42jH3KZmp3BUlRNqbMGnxFMGetOOWauTYp9da2n0YPCkovvRFeh1tUu5 ZS3gBpcVd502DlbDhRDaWDV+xuB97LaJluTfCk90Hr6TjpBtdiFVKsGXlx5ho0IFox77 NV/sZ3xJDkIa+SkN7h4d5+aQ0tOPpS1zf0Jv5M3c4XHbJESJSdc2ggoP3DjVzdYSlGZI ME2832HpX93eR1hN8zvfQgWCIZSDATj4DA5dAOZC1QS8weoegmKQPrdWXc1VUYwQiNzC Ftbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter; bh=RuexnrsbXl/Hd9rIxzNwnxH6Jz4Zi31yO73QxVhe+aM=; b=zIOVecwhPDJiozgDUD4WcUUV7ZBIJoBwqsmI3AFs2VP2VMka45zBPUbQEYttvgeLF7 QNb0C2NiIZHKShNp7zVeUuUFIF3uQH+KFq9HqhxV69Ri/p3iaM6IjEv3POgh7p6vLF50 dNYwDrdD4VVvm2N2nwsJa/RbEmu4y5rUdZxG7MqF755zQ373b3/Ax4emTPvd/YkasEwR 5JJGR+yK8ZeicMwmZpKnZOllA+cfJ2646R9VUYr3r8RupK1lyeB0K8+kwhPAp8pMAdCv VhOe+zGJE8QftMN1HX9mye39gM+m8dtHPIDvzWhSqUIJkHCKVMqea/KALyOFTg8qfaBm lX3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="DlQ8pR/T"; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si1730661pgm.453.2019.07.19.00.02.12; Fri, 19 Jul 2019 00:02:28 -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=@samsung.com header.s=mail20170921 header.b="DlQ8pR/T"; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727153AbfGSHBb (ORCPT + 99 others); Fri, 19 Jul 2019 03:01:31 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:39752 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbfGSHBb (ORCPT ); Fri, 19 Jul 2019 03:01:31 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190719070128euoutp01833316ec0be7abad1dc17632cc089276~yvN93E3Po2129121291euoutp01E for ; Fri, 19 Jul 2019 07:01:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190719070128euoutp01833316ec0be7abad1dc17632cc089276~yvN93E3Po2129121291euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563519688; bh=RuexnrsbXl/Hd9rIxzNwnxH6Jz4Zi31yO73QxVhe+aM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=DlQ8pR/TGnU/R3O3yHo8H/Vj8Wp4r2bzbntSd2ztZzfcJZlx2E0b/ay9YYVCdiQgV QRXmOrV941ewmdut6Zvfpvqsv5RodSHFY5AvWCj4DRcoKIcSj7oncHxMB2IX7aTRJ4 51g/NEu4Df8k8pGirNedAnrSmme+yVs7EjgTnK70= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190719070127eucas1p25e71f261915ee58408c593f11dd32e73~yvN9P-tld0600706007eucas1p2g; Fri, 19 Jul 2019 07:01:27 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 04.BA.04325.7CA613D5; Fri, 19 Jul 2019 08:01:27 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190719070126eucas1p19c19ef5d7ae3c150a7cdfb10d61a52fa~yvN8Sv3tL2823728237eucas1p1s; Fri, 19 Jul 2019 07:01:26 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190719070126eusmtrp24d941d8f70f2159b726e6a1a718c7a1c~yvN8I1Pp42079520795eusmtrp2e; Fri, 19 Jul 2019 07:01:26 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-ff-5d316ac7d2ae Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 65.6E.04140.6CA613D5; Fri, 19 Jul 2019 08:01:26 +0100 (BST) Received: from [106.120.51.74] (unknown [106.120.51.74]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190719070126eusmtip244381f93620acd3ecb19e93c4d50f9e4~yvN7pLyYZ1961419614eusmtip2L; Fri, 19 Jul 2019 07:01:26 +0000 (GMT) Subject: Re: [PATCH] drm/bridge: fix RC_CORE dependency To: Arnd Bergmann , David Airlie , Daniel Vetter Cc: =?UTF-8?Q?Ronald_Tschal=c3=a4r?= , Dmitry Torokhov , Laurent Pinchart , Sean Paul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org From: Andrzej Hajda Message-ID: <763005f0-fc66-51bc-fcfe-3ae4942a9c07@samsung.com> Date: Fri, 19 Jul 2019 09:01:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <20190718134240.2265724-1-arnd@arndb.de> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKKsWRmVeSWpSXmKPExsWy7djPc7rHswxjDc7/V7HoPXeSyeLvpGPs Fv+3TWS2OLzoBaPFla/v2Sw6Jy5ht7i8aw6bxYt7b5ks7k4+wujA6fH71yRGj73fFrB47Jx1 l91jdsdMVo8pnRIe2789YPW4332cyeP4rlvsHp83yQVwRnHZpKTmZJalFunbJXBlLHniXLCZ t+LF/hVMDYzN3F2MnBwSAiYSF+euZ+ti5OIQEljBKNF95yAjhPOFUeLDqs1MEM5nRol1P1cB ORxgLe9b7CDiyxkljlzqgyp6yygx+XwzE8hcYQFziV2zH7GCNIgIpEq0fQsAqWEWaGCSWLj+ ACtIDZuApsTfzTfZQGxeATuJX/+Ps4DYLAKqEi1XbzCC2KICYRI/F3RC1QhKnJz5BKyGU8BU 4u3lJWC7mAXkJba/ncMMYYtL3Hoynwnit0fsEh/6oGwXia6zt6BsYYlXx7ewQ9gyEv93wtTX S9xf0cIMcqiEQAejxNYNO5khEtYSh49fBHuGGejo9b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QaxArxJpYVlyZe4hRgoNZSYT39kv9WCHelMTKqtSi/Pii0pzU 4kOMpkC/TWSWEk3OB6aRvJJ4Q1NDcwtLQ3Njc2MzCyVx3g6BgzFCAumJJanZqakFqUUwfUwc nFINjBM0j6lrNwdumGDqzxBcI+LGFNIfFzD925NGaRdhgyXec/7GRl66v7vg2JMVWux3jybf njJx4gJ1reSdBq6Pf3BNrDK9M8Hst/bDF79mpdns2P/U78JjhnwOyXuNb3+f2ew9s+Jvmscm /w+XdGMiBLSTVrEn35txL/C2hnZpVE/+P/ump2em3ldiKc5INNRiLipOBAA3M2+m6wIAAA== X-CMS-MailID: 20190719070126eucas1p19c19ef5d7ae3c150a7cdfb10d61a52fa X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190718134253epcas3p32a5afece52c47aaac0cd5795ff4cf022 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190718134253epcas3p32a5afece52c47aaac0cd5795ff4cf022 References: <20190718134240.2265724-1-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18.07.2019 15:42, Arnd Bergmann wrote: > Using 'imply' causes a new problem, as it allows the case of > CONFIG_INPUT=m with RC_CORE=y, which fails to link: I have reviewed dependencies and I wonder how such configuration is possible at all. RC_CORE depends on INPUT (at least on today's next branch) so if INPUT=m then RC_CORE should be either n either m, am I right? Arnd, are there unknown to me changes in RC/INPUT dependencies? Regards Andrzej > > drivers/media/rc/rc-main.o: In function `ir_do_keyup': > rc-main.c:(.text+0x2b4): undefined reference to `input_event' > drivers/media/rc/rc-main.o: In function `rc_repeat': > rc-main.c:(.text+0x350): undefined reference to `input_event' > drivers/media/rc/rc-main.o: In function `rc_allocate_device': > rc-main.c:(.text+0x90c): undefined reference to `input_allocate_device' > > Add a 'depends on' that allows building both with and without > CONFIG_RC_CORE, but disallows combinations that don't link. > > Fixes: 5023cf32210d ("drm/bridge: make remote control optional") > Signed-off-by: Arnd Bergmann > --- > 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 f64c91defdc3..70a8ed2505aa 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -85,8 +85,8 @@ config DRM_SIL_SII8620 > tristate "Silicon Image SII8620 HDMI/MHL bridge" > depends on OF > select DRM_KMS_HELPER > + depends on RC_CORE || !RC_CORE > imply EXTCON > - imply RC_CORE > help > Silicon Image SII8620 HDMI/MHL bridge chip driver. >