From patchwork Thu Apr 8 13:07:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 417436 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp556409jai; Thu, 8 Apr 2021 06:08:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzioRDWlvtKSOYcqRaV+hBRK0I8s9gXXtwKfyfSR1KM0Uy3+1wKypI0byAtE5FbTj9ksY1S X-Received: by 2002:a17:90b:1e4d:: with SMTP id pi13mr5871587pjb.132.1617887308870; Thu, 08 Apr 2021 06:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617887308; cv=none; d=google.com; s=arc-20160816; b=ToADS7ia07ooAo1IEiyQq+hTpZHbaVbBdYTacvq57XxdcZniZIterD/l37RFtTzAdv tudAJHKRft3kVdZxklMch13oamGS2xqqqdZC97bgiWnxcYhz3sV5tmi/6q1uaUuNppdM DLkMFRQLxdwrHop3UbUB+EL9PFlQoZrRg9ize1zHhldc3Yc/c9Weo2XuMfrKOlg3wzi6 ++OPbgxkqiuNU8+qS+/q+AnmBUijHOylA6zOhONT8/UL1xZXaxyAusEKZ+mSAjqCO35c goIcZTuLyzw1ulBN2MCVjkV8l6k6mriC8iZ+1ZH67Gjs7p3p9Cu71kCRb6NpQojNYEjo EM+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=hdj6ah1vWPV9qDqvskvAJCPMAEo+q9CBf9ZhU/EOGas=; b=NfmWx9/fFak+oq10j+a2Dj97ugaaeMbquKCTPswLSLsxQmy0CF1Zim9CklBZ7usVn5 cSWG1k8U+DalXOFfND/cjo/CpvAHF4tkQIukM4ePmnPTSgeYHPswLPKknrxnMist9xI7 sgpB42ga8IC+KKMpOSr2NQFKJX5qpPniG5eAybAVPySD2nFgsCKCA2TJuNDX/oEu5kjY N5djn4PGG17MEPQbH8ifarWQf1UULnF/8yn2OHkluE2zhH8Bizlv5VvQFeTUQjOhrM7t C81ReMJs4WrCpPugUygC0Im42y6SHjsn1OKEgXQE9oc1Dvev+qqxMPNy7DUFVNwHzytu JEjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Nl0s25l5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id j9si1970446pgq.295.2021.04.08.06.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 06:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Nl0s25l5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DCB156EA99; Thu, 8 Apr 2021 13:08:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by gabe.freedesktop.org (Postfix) with ESMTPS id B62AB6EA99 for ; Thu, 8 Apr 2021 13:08:26 +0000 (UTC) Received: by mail-ej1-x631.google.com with SMTP id mh7so2904928ejb.12 for ; Thu, 08 Apr 2021 06:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5exdKRCsF2K4PXIw6d81pZy/xw7djq4cWgROPZxTAk8=; b=Nl0s25l5X8itmVUheFUnCgSuowcv1/yp0zA1y/YMBbgllKIobZK4nMivhQcQD4yZ16 oRzOG9daL9N69Uu8s5vxjW8HsOgJHZvaezCz6C/UKcr/OXkoqo7IHcA9jedV3WvBDo/q fnomhjkzf85xntrL6860oENHsamBrFzCW/ZgKjjcl+KgCTumJPMgh6IyY++BZyjEdOZ+ bNsP9tEpEkdPPXhdmTNNC/rd5/HHSixKnqxdIgWEr/JV+jncLOCEejj8BiukP5/ABYQq yRxNuJgi/DQ51dCaOKtidC5fs5WALXzrR0ua515HMSgvSjI57EJNCYj743QXo3pFFPYD szhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5exdKRCsF2K4PXIw6d81pZy/xw7djq4cWgROPZxTAk8=; b=T6MuSuhXDs1Tr18Nnctw1jaFu8VOXJByOrwfOpmYCtlXvaoXyImBL4+gfomwsmDOso uraO5qLGUd3jy5qKOkDguxhnBH5SA7np5OqgEJsoV/RI4OtO77Lyf8wNg0hi2s0zd/Eg XbblqBN2t0FerG69OxTKId6TPDaKELOFzOoyPNoqtI43z4/WdZaGn2DUG07UrXHJPPgk b59nkbh8OM40nXaPTL8IMx9k5PIavwT/PEzk+D/T5UY3O0Zb/FVkNiP4GKBCMx0J0/Wp kPhsqxGsPL/bvQPWjCjVRLQcBskDbi2ysGZQKEnBoUa2PV5s+wicXwN400yS0qzMazgw gamw== X-Gm-Message-State: AOAM531ZRt2yZVPgz0hK7uwUNn9qyh41NJpSfMubv5G2+Ade0dkNSQzZ 21HMLdHAuA/eQJ7jzq8XAcS7ww== X-Received: by 2002:a17:906:814a:: with SMTP id z10mr10324785ejw.476.1617887305361; Thu, 08 Apr 2021 06:08:25 -0700 (PDT) Received: from localhost.localdomain ([2a02:2454:3e3:5f00:1381:463f:8d12:2777]) by smtp.gmail.com with ESMTPSA id a27sm46674ejk.80.2021.04.08.06.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 06:08:24 -0700 (PDT) From: Robert Foss To: a.hajda@samsung.com, narmstrong@baylibre.com, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH v2] drm/bridge/sii8620: fix dependency on extcon Date: Thu, 8 Apr 2021 15:07:46 +0200 Message-Id: <20210408130746.175358-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.31.0.30.g398dba342d.dirty MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel test robot Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The DRM_SIL_SII8620 kconfig has a weak `imply` dependency on EXTCON, which causes issues when sii8620 is built as a builtin and EXTCON is built as a module. The symptoms are 'undefined reference' errors caused by the symbols in EXTCON not being available to the sii8620 driver. Signed-off-by: Robert Foss Reported-by: kernel test robot --- Changes since v1: - Fix typo on comment drivers/gpu/drm/bridge/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.0.30.g398dba342d.dirty _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 22a467abd3e9..2289b44613af 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -169,7 +169,7 @@ config DRM_SIL_SII8620 tristate "Silicon Image SII8620 HDMI/MHL bridge" depends on OF select DRM_KMS_HELPER - imply EXTCON + depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in depends on RC_CORE || !RC_CORE help Silicon Image SII8620 HDMI/MHL bridge chip driver.