Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3029946rwb; Mon, 15 Aug 2022 16:28:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR5facQs07Uj814xa4MAe7HyRugPdEBnXMqNDycRvazkm4XkqM5UQCHW1RkgWWra8rkiKPSm X-Received: by 2002:a05:6402:424f:b0:43e:6d89:4316 with SMTP id g15-20020a056402424f00b0043e6d894316mr16149883edb.408.1660606133519; Mon, 15 Aug 2022 16:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660606133; cv=none; d=google.com; s=arc-20160816; b=kq5qwZNJwG6D4IcBu4m9It/XIBQjzb+8tK2iqeIqUZ+c6paSQQyhTkdqQOGgTdbgf9 ZGKooExl29+hG0hx4C/Z5J2lKm8WqXdpyslpg806SynNE6b0j+XOTE6QDsRRrQwQk0QU Q9R3wiETo2FfuEr+hcqaHzsOfcG6EqckbFfy0DWw31q5FbSDiuGCh3TfhR7ThjaLWtjl 8aQrf96iR7fYjb2h6qtJ/RQQa5dq3Tf/r/A8IwNXHwmYdqNJG43y6V7n9X1JIYM+lmab 4hGiBeUIbisUFSIC82XPELM+as4ZLoOoc94jzMSR+rUF6aXk2MV87wmR44X4H3P28nL/ n+Rg== 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=blpHdwpfZGl5GMSyuZQtlwtl7uIvl9xVrs6Y1n3Xttk=; b=OeruikJ0YnYw+FRClWiXfRAUYfsr78U8SPTYCQs5ye+yLA8Wwb86Cnc111IGr2Lvda B8mgpqh3Vwbv5ZWlYB8pUhMIxAXSsbxzhRLEpZwCIPrTuaAnW4eKZGwsa4NdNqepEDUb cyLofOKc5A4WnVns14iVS6osuXyK/WXAJzUReKDSKdOiCEpNT2/jRjXE/LaBeQ5uk+Gq DYtjSpEtO/ef25XJxoKXta97FMb4cBNCZVAjB9eGym/uLYYg1XN86SDfAKhbUm8Am5vk lCkaekEruSgaOZdiv983nho/YEKqyEXVRvXa/Qt6IQfJSbVfbL7GxKNDvYyIqNq+yWq7 KNZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="1h/Lyyh2"; 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 gc29-20020a1709072b1d00b007309b0ab2b4si6854478ejc.518.2022.08.15.16.28.23; Mon, 15 Aug 2022 16:28:53 -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="1h/Lyyh2"; 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 S230378AbiHOXTJ (ORCPT + 99 others); Mon, 15 Aug 2022 19:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348279AbiHOXPg (ORCPT ); Mon, 15 Aug 2022 19:15:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B0F9D651; Mon, 15 Aug 2022 13:02:38 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 27C686068D; Mon, 15 Aug 2022 20:02:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18F6BC433C1; Mon, 15 Aug 2022 20:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593757; bh=pGy4ntkhvh8VNmVIX73uYF4znikFfDQUAqiExqIXPK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1h/Lyyh2j5i/WBmAybB2WX25UsjnzhNejdGRei0kF1x9fOjcoqQ/vqWHHz2XeD3cy bq1ryvzMv6l/Oj4TfiHo28Me8B5yjRbfunMSaW22KYJ89hBxcway/fx4caB7S79/0z 2LP208+3KnSqewjBFk79yz6BoaTM/71hE8pT6OO8= 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.19 0321/1157] drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m Date: Mon, 15 Aug 2022 19:54:37 +0200 Message-Id: <20220815180452.487000940@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 38799effd00a..4f1f004b3c54 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -438,6 +438,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