From patchwork Wed Jun 7 12:08:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 104472 Return-Path: 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 + 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 ); 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 ; 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 ; 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 To: Mark Brown Cc: Arnd Bergmann , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Matthias Brugger , AngeloGioacchino Del Regno , Trevor Wu , Jiaxin Yu , 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768046863476403156?= X-GMAIL-MSGID: =?utf-8?q?1768046863476403156?= From: Arnd Bergmann 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 --- sound/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) 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