Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp910661pxb; Wed, 6 Apr 2022 04:03:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgm5KJJDn9v0yxU/a3/Ix3wlhRtNo/pHvlaTt2PMunoPbDR+PQcsPJqAGMSL/Q5bl42AFJ X-Received: by 2002:aa7:8a4a:0:b0:4fa:e155:f03c with SMTP id n10-20020aa78a4a000000b004fae155f03cmr8370976pfa.67.1649242982072; Wed, 06 Apr 2022 04:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649242982; cv=none; d=google.com; s=arc-20160816; b=TvPkAQm89cUnDIUjZV5ngbh3yjbrwaIZSuFIfF3l6rU5t8+GsfDSs/F/Co3LMvfDGL kgHhPz8yjYf1LDQNl19O9UANGb+kpnP2B0AjRomU52toOWkG1SUgjR0dmxl3/aEA/6u9 VevDt8b5l2KncFDKdS4KbvuEUcjwRShEQWJzj0n89n19VKuIAIod9uTph7cFFylHEBbV 8WfLJyrR09BZyZtZcQRQ09vmSgE+hBDR/XkQa7zPXMIIHWu+Nq7E0S+vs61rg1Ct88bA 4Q2G8KsvbUVUEbNNaAUivDR5HduevWgTDH9jPhjtDiZeSXtktTRKYjyFxREBPTskk2Rh dt/A== 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=jitoq1ih2Cjdp5Tpd7DhbAAmW6SlsC57EKjcrxWOyRcMEmes4ukM+Ci1NVALUhZR3h xH5vKrJZNen5D3UM43a4e9Yod5ARsQOglZ5Lkv2oOVUwoN1egTTsQZ7B21TvnE0Whgcg 96n0KJQDHRpXQvhjsFds10qA6x0QF+573g6Mwe16gG+onlIopRgjIIMt5/kfV+V77sOY 7S3CDbCfx5oDIIizz6IxQi/9NHpeHcyYbbq7bKyxXJFEoj80EkHeTLqrr2n5/2ch+b+a nrsgMCl31U19VnDADSRwbqF3+sCU50L/lCdsZNsLGYvfP1/B0wyeV3TkA5U4izsXQE63 +XoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tRzdYMFT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id bg16-20020a056a02011000b003991d7cd361si9110060pgb.622.2022.04.06.04.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:03:02 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tRzdYMFT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 281565BC1DB; Wed, 6 Apr 2022 02:26:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1845063AbiDFBxy (ORCPT + 99 others); Tue, 5 Apr 2022 21:53:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354127AbiDEKLw (ORCPT ); Tue, 5 Apr 2022 06:11:52 -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 E0E9651588; Tue, 5 Apr 2022 02:57:27 -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 7F1A26157A; Tue, 5 Apr 2022 09:57:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 946A5C385A1; Tue, 5 Apr 2022 09:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152646; bh=FjlwNEak2Y5XHLiuM71zpUltWSfxCrU7knvshYNWE0c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tRzdYMFTAe2iG9+b5lOvTlB9Jpd+EgcK3I6E9VeULvIU32G7J09Z78mKXk2lRwU6D ff5/QIk2klNf0MHZ38uYb5WpSYC6/b8bmIGpMLpUysoNcG6MdBBM68UndMfWcU5WKn vDC04VxEysyyNKK9bM8I6a1wGFWMYX+WJ86YBl0M= 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.15 852/913] ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs Date: Tue, 5 Apr 2022 09:31:54 +0200 Message-Id: <20220405070405.367708116@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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 {