Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp746011pxb; Tue, 5 Apr 2022 21:29:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWT6c71wH1FbYFT7gfqWbdqCL4VlRKHyHJZvKbGk7jtHMaaoMwieuCqfyBBlgEdU4Ar2CZ X-Received: by 2002:a17:90b:1bc6:b0:1c7:3229:652a with SMTP id oa6-20020a17090b1bc600b001c73229652amr7975847pjb.65.1649219391304; Tue, 05 Apr 2022 21:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649219391; cv=none; d=google.com; s=arc-20160816; b=GmLAcBxG60ltqcqS8MfGRAZA9HcHhrVkebh30hXvDER2vw6K1CQ7HAHsOqiCN7gRyH BXVq/R9OP03HUcTXwxP6H0tPa0Ark0qUGIGn5plhk/VDTao2SiaMDcdjFlSb50qQQzmu XUQJuWAUcKTYzSEe3HgWUynt7/qCmNZpvJ+AxMAzNbCk+GlzCCWvYouMVrd0M2mo4G8E UIBYBSRitpweCsqVoCzZBki41unKHpXtBHTNaXx6l7bzsuVW1J8oFJ2p9TdNQaFTSemY S2MztN+Qaotw/Xdbnw3meQMefqTpp3r7DzVauGEJ208di+d0hNtctrs3v86oEyeN7N9s F2zA== 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=8oV4TfLFYGilr3uKAPWbIeLKtv90WaxMdtHHaXUPJbU=; b=HS3HqRt/mAEJsUpd2nAIZkE2lIqtHhPSQCVI3e2x9Q/i7/+LqO7FBlvWFK7/KleisD 80igxFXnlM/NjPfsnZe+AzZKL79j3NSIya5ZkeWVpmWSSGPnqWLKByNMQ8E6vbQa1I/I fkZ27VhKPM6cWPzZS97OR1RY1i0Oux/oGjJk0ZW3tNPNSqBSNYbpM9aatTOnm26PKVFj a2+Nf2G4/4JROhaeGV3SmiL8besmK4FFs155qkABtILfszmOxMDpMQuQCyGA1X3JGNMU Irm6w9qzHxp9hvaUKeSchYDJNzVUnvre5qYBEyizMkQXEEFZV53UNX5lb2vnuy2jxldl ZBbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=f+zkipLG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n1-20020a170902f60100b0015605a57d07si11258673plg.332.2022.04.05.21.29.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 21:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=f+zkipLG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F357215AAD5; Tue, 5 Apr 2022 19:52:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357379AbiDEK0Q (ORCPT + 99 others); Tue, 5 Apr 2022 06:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241123AbiDEIcv (ORCPT ); Tue, 5 Apr 2022 04:32:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B358216584; Tue, 5 Apr 2022 01:28:17 -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 4EF97609D0; Tue, 5 Apr 2022 08:28:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E334C385A1; Tue, 5 Apr 2022 08:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147296; bh=FjlwNEak2Y5XHLiuM71zpUltWSfxCrU7knvshYNWE0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f+zkipLGwWcfop8jTB2itFaVq6jPS2HukyvxjPIrbhhG6ry0t6UCKjyxm3DZI5MeM I9INxh17hcRPtxftGNZuDMPouaPkOuTy1JbtABa6NEjjECBcI2a2ViWibsvZFlMCkk pdI9lpbDuAphT1pr/qCRz7eFuiAtLdwJ9q3qufh4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jiaxin Yu , AngeloGioacchino Del Regno , Mark Brown Subject: [PATCH 5.17 1046/1126] ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs Date: Tue, 5 Apr 2022 09:29:53 +0200 Message-Id: <20220405070438.174765036@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: Jiaxin Yu commit a7663c89f4193dbf717572e46e5a3251940dbdc8 upstream. Fixes the following build errors when mt6358 is configured as module: >> ERROR: modpost: "mt6358_set_mtkaif_protocol" >> [sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.ko] undefined! >> ERROR: modpost: "mt6358_set_mtkaif_protocol" >> [sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.ko] undefined! Fixes: 6a8d4198ca80 ("ASoC: mediatek: mt6358: add codec driver") Signed-off-by: Jiaxin Yu Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20220319120325.11882-1-jiaxin.yu@mediatek.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/mt6358.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/sound/soc/codecs/mt6358.c +++ b/sound/soc/codecs/mt6358.c @@ -107,6 +107,7 @@ int mt6358_set_mtkaif_protocol(struct sn priv->mtkaif_protocol = mtkaif_protocol; return 0; } +EXPORT_SYMBOL_GPL(mt6358_set_mtkaif_protocol); static void playback_gpio_set(struct mt6358_priv *priv) { @@ -273,6 +274,7 @@ int mt6358_mtkaif_calibration_enable(str 1 << RG_AUD_PAD_TOP_DAT_MISO_LOOPBACK_SFT); return 0; } +EXPORT_SYMBOL_GPL(mt6358_mtkaif_calibration_enable); int mt6358_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) { @@ -296,6 +298,7 @@ int mt6358_mtkaif_calibration_disable(st capture_gpio_reset(priv); return 0; } +EXPORT_SYMBOL_GPL(mt6358_mtkaif_calibration_disable); int mt6358_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, int phase_1, int phase_2) @@ -310,6 +313,7 @@ int mt6358_set_mtkaif_calibration_phase( phase_2 << RG_AUD_PAD_TOP_PHASE_MODE2_SFT); return 0; } +EXPORT_SYMBOL_GPL(mt6358_set_mtkaif_calibration_phase); /* dl pga gain */ enum {