Received: by 10.223.185.116 with SMTP id b49csp1126703wrg; Fri, 23 Feb 2018 12:23:50 -0800 (PST) X-Google-Smtp-Source: AH8x2256f0C/VjmGLwl99xcIK2tvkaNZuF6baKlmVLTVbKnkvEWoO3aHyetf/Sh3clyHHAwqP09W X-Received: by 10.99.126.14 with SMTP id z14mr2370910pgc.429.1519417430365; Fri, 23 Feb 2018 12:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417430; cv=none; d=google.com; s=arc-20160816; b=0v6EJKuyeYBxwyJZEt5potsWFE8W3IxlVOpNjrfL28xh/x53UofZVXfh7FgMbFFmQg ceHXvVADLzbyM8K/66WfXg5o9PAnnjo2Lt+/F+oaN/2v/szkUo17oVFiAKGk/omQj2Ed dz0ASmU3ptyVySwWimL8CvXqWnFCTy3apmTnbymEe8zQFtoxXBT8TIXwxMDliw+Sw7s4 2qO2KfMcjFed9USFKAnzu3ogEmaVUkXF5Uzt7Vae1bwXf9JGQQXi/FnGVGixs6b/IRbD Yfc9l4hZIPG0hBzMNB/nqn9FEEkqPvyBTN96j9bWdMqV1iQ9/Yo5E0L+Ast7qHKC10nz kfUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=MZ+olY7KIvAxauzteX3Kjwa3xLP/6SpYu3OAS0Vr7qI=; b=tFT+6ZIp7/X9XM2UsrNB+iTSlU3l5dmbrClUkjKFlgiGevldc56uWb3P8eUaKKpk8o bWHFN6ibCiPXH0Icz25joKojp3umZJFanM6tDClh2+vZCULuXhuA9OK+lsWvy41saSto LX06KSC7IfWba0kV8RyAwJGEvvpePDnfbI7aKECQdKvnryvgH7D/D8xqojNDTZWY5xvv OZYmLSc0yvepLg7SqHArZHjG/RI3XFuBygpT8kfy0D55k4h6tf+HJij32/BXSV/LUuuf staDPIlpifyTrqkgcy8hUiV2eyDYbASfDVQSCxZzwQPohQPbTX8jlCaPcI7O1DV2T7qp PR9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si1706216pfh.129.2018.02.23.12.23.35; Fri, 23 Feb 2018 12:23:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932372AbeBWSi2 (ORCPT + 99 others); Fri, 23 Feb 2018 13:38:28 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39134 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932314AbeBWSi0 (ORCPT ); Fri, 23 Feb 2018 13:38:26 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0A6081022; Fri, 23 Feb 2018 18:38:23 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Koro Chen , Mark Brown Subject: [PATCH 4.4 124/193] ASoC: mediatek: add i2c dependency Date: Fri, 23 Feb 2018 19:25:57 +0100 Message-Id: <20180223170345.279538740@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit ec3995da27e782cc407ce48101c98c19c9ce738d upstream. The newly added mediatek drivers for mt8173 select codes that depend on I2C, which cuases a build failure if I2C is disabled: warning: (SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && EXTCON_MAX77843 && BMC150_ACCEL_I2C && BMG160_I2C) selects REGMAP_I2C which has unmet direct dependencies (I2C) codecs/rt5645.c:3854:1: warning: data definition has no type or storage class codecs/rt5645.c:3854:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] codecs/rt5677.c:5270:1: warning: data definition has no type or storage class 77_i2c_driver); codecs/rt5677.c:5270:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] This adds an explicit dependency. Signed-off-by: Arnd Bergmann Acked-by: Koro Chen Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/sound/soc/mediatek/Kconfig +++ b/sound/soc/mediatek/Kconfig @@ -9,7 +9,7 @@ config SND_SOC_MEDIATEK config SND_SOC_MT8173_MAX98090 tristate "ASoC Audio driver for MT8173 with MAX98090 codec" - depends on SND_SOC_MEDIATEK + depends on SND_SOC_MEDIATEK && I2C select SND_SOC_MAX98090 help This adds ASoC driver for Mediatek MT8173 boards @@ -19,7 +19,7 @@ config SND_SOC_MT8173_MAX98090 config SND_SOC_MT8173_RT5650_RT5676 tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs" - depends on SND_SOC_MEDIATEK + depends on SND_SOC_MEDIATEK && I2C select SND_SOC_RT5645 select SND_SOC_RT5677 help