Received: by 10.192.165.148 with SMTP id m20csp3202759imm; Mon, 23 Apr 2018 02:23:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx48iLsOEKTNFNf+ow/Z6HsTCpJwvQR6Jqy47jonYWmlNHIAlIzomWNTMJjhLY5e4G1HSxgXN X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr15935115plb.297.1524475415436; Mon, 23 Apr 2018 02:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524475415; cv=none; d=google.com; s=arc-20160816; b=J1kcmlmWYTlauhGX8xQHPI83OwVdF/1Owr33Pm7368UzQo6YoRUznNaU1W4uxD7+PQ oNdFTb/Ti1YS1hvEqJG8eAom6r6tORfLmqEveauPLdfjUMB9thmFNdX2oin8RM9KXEHL 8HIpKp6MCZUYlESZ2zcfIMPzIHT0pqfAjJoFkxOfNXxK1tpvLSmjIdlJzyaHdf5ZB4kj z04J6qj8KczLflgU1V8d0vaZsUtjLeNDI5WFJk5tfnaCynwPIiBC9XFiawdKEDdcGLm3 uvk1kZB45SveeWYRdvjobmjfuLx+D9cDIPDk83OLNFhOsGP624kfQ+IcooQAsre59GMw 7oaQ== 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 :arc-authentication-results; bh=oVaKCSBcmRrbR7ij31OKQzWSBNQiR2peP7o4wc6cBp4=; b=vXqqaXgpvAv+2yH3XgUijTZ4bIho29Ye9LlGyjr8P61CNcpVChTZCMSoI1fEKEehZk DtYq76yLZvF6UjJS0HqfqXHA6DL8rQUpQSs1Pq+hlzb+g/59HU8OGHZBHywvoLlP5T2e xdF7KDzul7x/yTfk3762fL1ezFPfWYeNGXNFTK6ELahnBWxB5RW1zuYcHLE//g9geY1C OulRKGjCOeOjoTOpMTYnCSQQw1yOyE8Uq8azKVYbYSfgfOh9J71Ehtv0xvi93Kj3k/f0 LDJYpD+vfP+hkzyk1ei5mB6t/wxeptLiYlu+bPLngvysNuWsUmC1xrRsgs8bSmZeuL97 Evzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=TArDOnkd; 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 i2-v6si11399129plk.51.2018.04.23.02.23.21; Mon, 23 Apr 2018 02:23:35 -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=TArDOnkd; 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 S1754404AbeDWJWR (ORCPT + 99 others); Mon, 23 Apr 2018 05:22:17 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38626 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754078AbeDWJWQ (ORCPT ); Mon, 23 Apr 2018 05:22:16 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180423092214euoutp013afe058a5d032e1ed6b289021a8bcde8~oBj1AKW3i0874208742euoutp01A for ; Mon, 23 Apr 2018 09:22:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180423092214euoutp013afe058a5d032e1ed6b289021a8bcde8~oBj1AKW3i0874208742euoutp01A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1524475334; bh=oVaKCSBcmRrbR7ij31OKQzWSBNQiR2peP7o4wc6cBp4=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=TArDOnkdzvtZrIXrM+0/Fn2jSa//nq/K5u1hcKpaGLCOUszSmrR7oRgnznEoWyvbw xz7HqT2STJ7rAesqbgZzkRbwtN1XwsjkPysDjLHZ7m/xsuDTYUaWMFu5vzU4QlSy2y N35DIloROZFVo7+Qt3qKjjGZpUks6E604JoBCofU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180423092213eucas1p197c412b1460f5c4a6b77f72c3d169d98~oBj0O9fv53047530475eucas1p1S; Mon, 23 Apr 2018 09:22:13 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id A1.B7.05700.3C5ADDA5; Mon, 23 Apr 2018 10:22:11 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180423092211eucas1p2b1ae1e00224695b5d10eef7a66071ebe~oBjyO64Gl1100011000eucas1p2Q; Mon, 23 Apr 2018 09:22:11 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180423092210eusmtrp197dee641b720f4629ebc10e47433fcc6~oBjxq1MDx0129701297eusmtrp1c; Mon, 23 Apr 2018 09:22:10 +0000 (GMT) X-AuditID: cbfec7f2-1dbff70000011644-27-5adda5c357cf Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C1.81.04178.2C5ADDA5; Mon, 23 Apr 2018 10:22:10 +0100 (BST) Received: from [106.120.43.17] (unknown [106.120.43.17]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180423092210eusmtip2ede20cf9836d5e3e1f8e483743949451~oBjxXTzwD3015830158eusmtip2K; Mon, 23 Apr 2018 09:22:10 +0000 (GMT) Subject: Re: [PATCH] drm/bridge/sii8620: fix link error To: Tobias Regnery , architt@codeaurora.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: m.purski@samsung.com From: Andrzej Hajda Message-ID: Date: Mon, 23 Apr 2018 11:22:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180423084700.27888-1-tobias.regnery@gmail.com> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAKsWRmVeSWpSXmKPExsWy7djPc7qHl96NMji9zcKiqeMtq8WVr+/Z LC7vmsNmseDlLRaLqxcvsTqwelzu62Xy2DnrLrvH/e7jTB59W1YxenzeJBfAGsVlk5Kak1mW WqRvl8CVcfboeuaCFp6KcxfPsTUwLuDqYuTkkBAwkTix+w1jFyMXh5DACkaJbccOM0E4Xxgl rq09zAzhfGaUmHhxAitMy7IPT1khEssZJZ7ufc4GkhASeMso8bbFDcQWFjCXONW2jB2kSESg jVHi683FzCAJZgEJia7Fb8Ea2AQ0Jf5uvglm8wrYScxf+4QFxGYRUJWYtOwXWL2oQIRE0/Of 7BA1ghInZ4LUcHBwAtVv/VUEMVJeYvvbOVDjxSVuPZkP9oKEwCJ2iRMHJ7NAXO0iMfv1bCYI W1ji1fEt7BC2jMTpyT1QNdUSN180sUA0dzBK3P/dzgaRsJY4fPwiK8hiZqCj1+/ShwjbSqw8 uJUNJCwhwCdx460gxA18EpO2TWeGCPNKdLQJQVQrStw/u5UZwhaXWHrhK9sERuVZSB6bheSb WUi+mYWwdwEjyypG8dTS4tz01GLDvNRyveLE3OLSvHS95PzcTYzAdHP63/FPOxi/Xko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aI/uPu/f7jO5H69hf9P3MrPm8YiPLSrsC5s/9guGC99nU z02MPPufacbcZe6HbOMuL2lxz7g4R/rmt/9eE++m156PjsqMFdRQYinOSDTUYi4qTgQAzQ2S fMcCAAA= X-CMS-MailID: 20180423092211eucas1p2b1ae1e00224695b5d10eef7a66071ebe X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-MTR: 20180423092211eucas1p2b1ae1e00224695b5d10eef7a66071ebe X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180423085639epcas3p13d9c120cba4c41bf3f0f18be25f83590 X-RootMTR: 20180423085639epcas3p13d9c120cba4c41bf3f0f18be25f83590 References: <20180423084700.27888-1-tobias.regnery@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tobias, On 23.04.2018 10:47, Tobias Regnery wrote: > With CONFIG_EXTCON=m and CONFIG_DRM_SIL_SII8620=y we see the following link > error: > > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_remove': > sil-sii8620.c:(.text+0xd5): undefined reference to `extcon_unregister_notifier' > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_probe': > sil-sii8620.c:(.text+0x2a4b): undefined reference to `extcon_find_edev_by_node' > sil-sii8620.c:(.text+0x2af4): undefined reference to `extcon_register_notifier' > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_extcon_work': > sil-sii8620.c:(.text+0x2b94): undefined reference to `extcon_get_state' > > Fix this by selecting EXTCON. > > Fixes: 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL") > Signed-off-by: Tobias Regnery There is already pending patch[1]. [1]: https://patchwork.kernel.org/patch/10330653/ Regards Andrzej > --- > drivers/gpu/drm/bridge/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > index 3aa65bdecb0e..ab99e36ee034 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -74,6 +74,7 @@ config DRM_SIL_SII8620 > tristate "Silicon Image SII8620 HDMI/MHL bridge" > depends on OF && RC_CORE > select DRM_KMS_HELPER > + select EXTCON > help > Silicon Image SII8620 HDMI/MHL bridge chip driver. >