Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2363658ybi; Thu, 18 Jul 2019 07:17:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwr43BVil9Pr1RnrRGUY5ws1AD2L78Lnxl0ggPmTNZacR15BdWy6XvBSBmo2ZVp7J4MD0mH X-Received: by 2002:a17:902:d81:: with SMTP id 1mr52367191plv.323.1563459453264; Thu, 18 Jul 2019 07:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563459453; cv=none; d=google.com; s=arc-20160816; b=sWuwRrxFoQFzJ/GaLGcC1iFMTPd4BGtucJwikvCCRHOVv8VUXkX3owT8qdPpxi+fw+ yzP7xQOpMpGQTWhkjhvgS25m721l0FyP1x+06aNQejYWzp8WvQjP8YZl7DnsvUv3SqDF /EBZE54jnzSupLQRK7QRyopnYmf7BFqwUG5ucQvdwMLCdtL5CjvubseTO8mVMB52A/z8 6S2v/X6vWQrtnZ7EpgX0Y1gbr/TU2NBKBl6Wgp2kCQ3PvWaRvB9qrtcYIKjmWk2PI8EQ SeQxjDuuaapfYiyQQ5X5lcbDDVds0gAZj1MBqcip8ZbbI2FnDRZxSC3F0Dud3trBaR4M kUSQ== 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=wLENZPNH5/PowzkgyxZdtUEKoTWkuWsrgFeMFf+/LHQ=; b=Y9OxVtbJwdCZ6+4TvzqcydLj6f2hARjhwV+/8ZwZZfhU7eZOfI2z/PN4lr1fzOdNFz U8XCyfa1ixSFnx86QJ/lRcefH4AxroT/TdcGu51wISA31iBhcQAZx89mdmhH1VLbjicW K8gYdLAMfFnvQ8LQDpNU7vuABvlCnqaJQ0KWoln1Q9netdTS6U91nhig3yEThNH4SpbJ 5S4ofY6BkbCQUXTHt65KeWDqknweB6NP1O6ZUIRVWfxf7WjtEPH0bUhpyZJ3EGw40Efe 9mFHZSSyBa/KbhD0/b8Wm8ZAxVvOWwow7N99+M0JD0FQxBKHxMjyehD43kB1lO5MVW/e Xs7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=SZUPYHr7; 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 h38si1539708plb.149.2019.07.18.07.17.17; Thu, 18 Jul 2019 07:17:33 -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=SZUPYHr7; 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 S2390345AbfGROQQ (ORCPT + 99 others); Thu, 18 Jul 2019 10:16:16 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:47432 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727730AbfGROQP (ORCPT ); Thu, 18 Jul 2019 10:16:15 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190718141613euoutp029b685bc0e9a18739d4d01ed959b09ad5~yhgRO_8hw2440524405euoutp02P for ; Thu, 18 Jul 2019 14:16:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190718141613euoutp029b685bc0e9a18739d4d01ed959b09ad5~yhgRO_8hw2440524405euoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563459373; bh=wLENZPNH5/PowzkgyxZdtUEKoTWkuWsrgFeMFf+/LHQ=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=SZUPYHr7ijZFVTNNFzGuqDJ4RGYKOEtJRzBnkAEaflGi8sqyKmqk5p2Ri/Fn3NJTu NX3x8R+351BIFjsG0ywy3U/lu6ZGTBFYe4GXHwkBfx0wbfHGlXY0ywJTo6Sh37i0np KDX06Vh5ecJeKUXzECLnwLrU2tnWTAW7TGZyq3fw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190718141612eucas1p21bdd98468e25aa732aa23f92cc99989d~yhgQbzXDF2613026130eucas1p2Q; Thu, 18 Jul 2019 14:16:12 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 49.3E.04325.C2F703D5; Thu, 18 Jul 2019 15:16:12 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190718141612eucas1p19040faed910e9308277cb3af2e49b674~yhgPptBZU2337623376eucas1p1o; Thu, 18 Jul 2019 14:16:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190718141611eusmtrp2685c8d5863909732b0b13c5089f40a1e~yhgPbovAr2627226272eusmtrp20; Thu, 18 Jul 2019 14:16:11 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-f5-5d307f2cda74 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F9.C4.04140.B2F703D5; Thu, 18 Jul 2019 15:16:11 +0100 (BST) Received: from [106.120.51.74] (unknown [106.120.51.74]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190718141611eusmtip1e153ebe5450f9ced53f167105366c1e2~yhgO9tqqx0874808748eusmtip1f; Thu, 18 Jul 2019 14:16:11 +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: Date: Thu, 18 Jul 2019 16:16:10 +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: H4sIAAAAAAAAA01Sa0hTYRj2O+ds52w5+5yaL10MR/0oSo3SDnShSOhIFBrYj2rUypNabsmO WnahISXOsLx0czMvaWQmKea9krzgvKBkRd7SWSwodRWYopWZ8yj573ne53m/93ngY0hli2Q5 E6mL4fU6TZRKKqcqm6c6N2644qf2S0j3ZlM6Wwl2Or2ZZmcq00i28cEXxL4b/y5ljWkFNPu2 NkvKfhm0E+xARhPaJeN+/0pH3MuJXIqrMQ3QnDkpU8LdMgJXNTEk4azXLQRnqe2jubEyr2DZ Yfn2MD4qMo7X++48Lo+wWRup6Dbn849LpigDeiFPRjIG8BYwPLmGkpGcUeJCBPdMZkokPxHc N9dLRTKGIOFxHbGwYrRlkaLwCEGTrZAWiR2BPbVV6nC54a1Qa/4kSUYM4455SJwIdnhIbCAg r+SVxOGR4nUw/ax3zq/AO2Gke5h2YAqvhbbnk6QDe+BDMJVrnPe4QmumjXJgGfYH+9uCuUQk Xg1V9ixSxJ7QZ8shHMcAD9LQ9zkLibEDoam6RSJiNxi2lNMiXgkzNTnz1a6AtfAqKS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8t1/qxwrxpiRWVqUW5ccXleak Fh9iNAX6bSKzlGhyPjCZ5JXEG5oamltYGpobmxubWSiJ83YIHIwREkhPLEnNTk0tSC2C6WPi 4JRqYJzOJZaR/oGX597390lTeGZJxN6zUJjjGxmbFTWVWX+lGEO4t9DTfdq9G5zjD34I652R muQ6ZV7+i4hrs/5Eu2pvE/x4pXZvwZMfRparsw2e7Gu+6faTZ29p5ZIDRUUngytkP55pjt7a sVF/0hO5VwYNXOJWWZa7LnVsu8ha/T978R7hu01RX5RYijMSDbWYi4oTASEF853uAgAA X-CMS-MailID: 20190718141612eucas1p19040faed910e9308277cb3af2e49b674 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 Hi Arnd, 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: > > 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 Proper solution has been already merged via input tree[1]. [1]: https://lore.kernel.org/lkml/CAKdAkRTGXNbUsuKASNGLfwUwC7Asod9K5baYLPWPU7EX-42-yA@mail.gmail.com/ Regards Andrzej > --- > 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. >