Message ID | 20230607120831.3587379-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp315921rwl; Wed, 7 Jun 2023 05:28:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68Uq2iTkbI3Kk4oa+AlS/VSOrHIwCh7p5snhbjNyqP0HKPRspEjUIfWJlCEvtRQz/OQAY4 X-Received: by 2002:a05:6a20:258a:b0:114:748f:f2dc with SMTP id k10-20020a056a20258a00b00114748ff2dcmr3848942pzd.59.1686140883727; Wed, 07 Jun 2023 05:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686140883; cv=none; d=google.com; s=arc-20160816; b=PTkVe2P710ogyjJo5WOu+tNmXvFTR7jGGByS6NeQrxD/6HZrquM3G29M6dwuqaW2kA KxvcTeqWFQJ90lkrzscFtw46hziJuephxCgmmuCvPdD/215kQrChmVlrqO2JLg7T/jlf nWMv8Z+Pe+7tCZiLYBG/d2R2OTHpHS4gXE+RUhFRxsjleBwY1MRN8Yi40BvZFj5xTL0D 3zPA43awndSDQDD+Bf123jJf4FhqL2NxUZfZOapY/atZklfpCi2d6iSrz1ew2PzLWXKJ ZGSirqiE1pD0e5fcMx2u6EVU+VbjFCvvjc9FT2PyByOJVKhR5QzvepLFvnVZ+lVI5OcX CvKw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=e0lvAdIDLby6JB6qUu9I24E8X7bnJ8KDE8MTuuQfEq4=; b=JdgvD27Cblulpms4F1I/N0+modOoCL3enS3L1slbTZCQiysdTHKv/heUqJ/fpvpUzU cBachcgH/WrQcwuU9hDh8qTb8AU4D0S7mg/009lXL99MgzmnfnnIUaWzOk/5A+OchJYM 9N+j7xfVmooD09C3s5Xa8ly6Gku6UZFOIGRATuNP5C6maKnOjqxk9/SHO1Q2xIAMBsOd mI+UpnvyrTBoQpu+7zsMrq2Wvdz8U7Rc33XAHQhZKwCLEnnW83DU7aurIzDLDoHAjgfJ /XziCjSRRN0dL/xNAqEgX1PLU8XbhLXsUQLTXpiSDb4RIVMGdfGsBzfOqEALhv7f51rw oJTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Bi+Wp+C6; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h125-20020a625383000000b0063b7acc199bsi8733588pfb.65.2023.06.07.05.27.46; Wed, 07 Jun 2023 05:28:03 -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=@kernel.org header.s=k20201202 header.b=Bi+Wp+C6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240526AbjFGMJM (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 08:09:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240580AbjFGMIk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 08:08:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49811BD5 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 05:08:39 -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 50D2B63562 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 12:08:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEF3DC433EF; Wed, 7 Jun 2023 12:08:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686139718; bh=ajWdmE+oEITOfGOM0DiF4YY95IS+tAiw8M8wSeFjfJc=; h=From:To:Cc:Subject:Date:From; b=Bi+Wp+C6tbHnzgHh1p+180dQ/zx9IUMtY1VfKbsF+Z6NcjawkF67gfhSgdhHTpAPy K/+O9EkvHkxjVf8Va3NjQUEkwAfD3NKQkywYkVXXdHO3agZsQJ5ep0O3v82jqjxoMd DgsOe7DtWJjJes8wCRxqJIZ5l+jLK4GIORNxAUWEv1Qgs/KuyMsy9Jp9PtghSfHphS 31S29SmnQ1uIFM1z4Uco4AzI8ppCeQ4yDaRZOkLlDVrVZBcN18fTfItUrJC82TpIHB jRAqUAmruppRV96n5IsNE13ScmceWymV5DOSGPtUY/xUXiv/PEFdDANPLFLISbTtqN Pb8HNcN+6mFjg== From: Arnd Bergmann <arnd@kernel.org> To: Mark Brown <broonie@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Trevor Wu <trevor.wu@mediatek.com>, Jiaxin Yu <jiaxin.yu@mediatek.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] ASoC: mediatek: mt8188-mt6359: add i2c dependency Date: Wed, 7 Jun 2023 14:08:15 +0200 Message-Id: <20230607120831.3587379-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768046863476403156?= X-GMAIL-MSGID: =?utf-8?q?1768046863476403156?= |
Series |
ASoC: mediatek: mt8188-mt6359: add i2c dependency
|
|
Commit Message
Arnd Bergmann
June 7, 2023, 12:08 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> The newly added driver is missing this dependency, causing a possible build failure: WARNING: unmet direct dependencies detected for SND_SOC_MAX98390 WARNING: unmet direct dependencies detected for SND_SOC_NAU8825 Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=m] Selected by [y]: - SND_SOC_MT8188_MT6359 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_MT8188 [=y] && MTK_PMIC_WRAP [=y] aarch64-linux-ld: sound/soc/codecs/max98390.o: in function `max98390_i2c_probe': max98390.c:(.text+0x514): undefined reference to `__devm_regmap_init_i2c' Fixes: 9f08dcbddeb30 ("ASoC: mediatek: mt8188-mt6359: support new board with nau88255") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- sound/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+)
Comments
On Wed, 07 Jun 2023 14:08:15 +0200, Arnd Bergmann wrote: > The newly added driver is missing this dependency, causing a possible > build failure: > > WARNING: unmet direct dependencies detected for SND_SOC_MAX98390 > WARNING: unmet direct dependencies detected for SND_SOC_NAU8825 > Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=m] > Selected by [y]: > - SND_SOC_MT8188_MT6359 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_MT8188 [=y] && MTK_PMIC_WRAP [=y] > aarch64-linux-ld: sound/soc/codecs/max98390.o: in function `max98390_i2c_probe': > max98390.c:(.text+0x514): undefined reference to `__devm_regmap_init_i2c' > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: mediatek: mt8188-mt6359: add i2c dependency commit: 484ede9bcb031a98880817480b685cac0ec96f2b All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig index 4ea012342b522..90db67e0ce4fb 100644 --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -223,6 +223,7 @@ config SND_SOC_MT8188 config SND_SOC_MT8188_MT6359 tristate "ASoC Audio driver for MT8188 with MT6359 and I2S codecs" depends on SND_SOC_MT8188 && MTK_PMIC_WRAP + depends on I2C select SND_SOC_MT6359 select SND_SOC_HDMI_CODEC select SND_SOC_DMIC