Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2924452rwb; Mon, 15 Aug 2022 14:09:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR6l4zXzCmMow7Yn+ow36IsgWXpS6xd56nx+mKZFBRvJOmgHcunDEwRnJ/veBnd3QVowGyWe X-Received: by 2002:a17:907:929:b0:731:3bb6:d454 with SMTP id au9-20020a170907092900b007313bb6d454mr11288290ejc.96.1660597765735; Mon, 15 Aug 2022 14:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597765; cv=none; d=google.com; s=arc-20160816; b=Fj4Um1yKuY+U99K2osStoNdD92QZBXGZJMQZqDy8WyJPoVYQY7J/vnoEVUCUGrgiI3 uPKT/y5D6Pb9amw7vZpk7ASadIz9jylq8a+d3sStJFdZKN/euGeDbXy+hRkmSKCCfZcc Ooy7rWn4fJJO8TnfKjuINfK3hvJulGX7aHNUj3iTXjQhRasEvubEgUWeloHHIXgqQJKu +S0+QUJLH1fexv4K5ZLLrv+sRnfmfy0F+l9BAaFXavtoO7mAMzC69MNzymF7XqyY9FIi /4gYr/MId/L6DF1GywpzsK7j7D865Oa8lfT2UQA+jll0ciEUomX6Ct9o5be9mW/CHLAy yuvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YbaIwnmq/wywLWwMxYEBPjNzl8IzpPpGNqBJZ18RGsM=; b=CzXbWTn3jgQ0JFq0mtstWXONBx8VK+eMByDmEQPjBGcUspw36lEOBC5Rj7pxn+LK2y DjLnvU/Q9hxgtZUpHt96pXagbnnirs3CJBtuNQCE++TL49a6VzqNGfSTpkNS0IhGKwoQ C1KisYChWeqgc7SuNOX2ATUUgregBz93Mff2IUfqrzIpn+zLTQCyd/P5MLZBpHHOvFom BCbGwXGiT1DhNijWSRXAxG/CCnz196Yvec0Y624as6B5IRJGNhCLWEZK+eCYykmG0M7D QEYmiodO8VyrKGLAo8tLBmq4yhK6befRO9EiFBsHq70SMwvQ5JAnXP63H52x7VVmVwXd jqjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Zm+oY3s9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020aa7dad7000000b0043bc19efc0bsi7992865eds.136.2022.08.15.14.08.59; Mon, 15 Aug 2022 14:09:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Zm+oY3s9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346547AbiHOUw5 (ORCPT + 99 others); Mon, 15 Aug 2022 16:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346859AbiHOUvI (ORCPT ); Mon, 15 Aug 2022 16:51:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE631BBA60; Mon, 15 Aug 2022 12:09:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8C173B810A3; Mon, 15 Aug 2022 19:09:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6DF0C433C1; Mon, 15 Aug 2022 19:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590592; bh=676krTAO+HL4576ThtRweo4aBukNbMS1ytPm871r0PQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zm+oY3s93kxGGazV8TkSVcLDTUD/Uwdr7a6lXMzQ8VUTNKt+nQwqIrV2A9Veb0ACW qs47BajCU7PofWZRmnf44lWCmzQPJ99vCiNPcQWQFi3chREGQ/BzjrCufx/Q/ZHnnh UddswtWgdFlpJBpBjUQJxLtmHPAJ3pDmMGQlKDjg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Gao Chao , Douglas Anderson , Sasha Levin Subject: [PATCH 5.18 0309/1095] drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m Date: Mon, 15 Aug 2022 19:55:08 +0200 Message-Id: <20220815180442.585574345@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gao Chao [ Upstream commit a67664860f7833015a683ea295f7c79ac2901332 ] If CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m, bulding fails: drivers/gpu/drm/panel/panel-samsung-atna33xc20.o: In function `atana33xc20_probe': panel-samsung-atna33xc20.c:(.text+0x744): undefined reference to `drm_panel_dp_aux_backlight' make: *** [vmlinux] Error 1 Let CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20 select DRM_DISPLAY_DP_HELPER and CONFIG_DRM_DISPLAY_HELPER to fix this error. Fixes: 32ce3b320343 ("drm/panel: atna33xc20: Introduce the Samsung ATNA33XC20 panel") Reported-by: Hulk Robot Signed-off-by: Gao Chao Reviewed-by: Douglas Anderson Signed-off-by: Douglas Anderson Link: https://patchwork.freedesktop.org/patch/msgid/20220524024551.539-1-gaochao49@huawei.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index ddf5f38e8731..abc5271af4eb 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -428,6 +428,8 @@ config DRM_PANEL_SAMSUNG_ATNA33XC20 depends on OF depends on BACKLIGHT_CLASS_DEVICE depends on PM + select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER select DRM_DP_AUX_BUS help DRM panel driver for the Samsung ATNA33XC20 panel. This panel can't -- 2.35.1