From patchwork Thu Jun 25 15:35:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 11625587 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DDB4490 for ; Thu, 25 Jun 2020 15:37:40 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 72009207E8 for ; Thu, 25 Jun 2020 15:37:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="Pi50ZaKL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="T9dcF8M+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72009207E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id ECCF51908; Thu, 25 Jun 2020 17:36:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz ECCF51908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1593099459; bh=l1GLlwn24ElrzRgS2/l9FKxYLhWc07dos496Wz8Arho=; h=Date:In-Reply-To:References:Subject:From:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Pi50ZaKLIwj/84dUtmjXNZiX0DWxJo7+M/ZtcsBvyUWlBDiXH02vIXVVsyvvE6plV M+ntcOTHgPw5qLotRZcvLdalVUr8nLKyqYA2lM+b4p+/JmT+ABPhN/rVTpGogYaNLt OOUD0XePQRVaM3bni+rlm16GG5Z+vJhoA4IAVpwE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C78BEF80249; Thu, 25 Jun 2020 17:36:03 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E89FF80259; Thu, 25 Jun 2020 17:36:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=disabled version=3.4.0 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 63EB0F80234 for ; Thu, 25 Jun 2020 17:35:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 63EB0F80234 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="T9dcF8M+" Received: by mail-yb1-xb49.google.com with SMTP id s7so6305703ybg.10 for ; Thu, 25 Jun 2020 08:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=dbGI7v9rzg/Ac7uwlTJsLHWm06iT1PR6qePnkUIC9XA=; b=T9dcF8M+YccA4Bnlvh4rBbTe+LGEddNeoc9rJUWs6GLzXbxBZ5NbGBRJTcBMtbNegH E2i5ojBn4GMnaSAQHzc6gpOsdJVuisBORihCnQ9jF5/LpPkLEhEbXPrCTdGIPhlJRMEC TBJi6iLAqxY6vwtKLa8/cXCu9IFcyFyGIAzO2EzQ3Bk1yPtM7LGVoXjWFZErH03T596L g4pnQh4HdWDAWRqf75f1TyNIvN9qs2rjRm1ects6Ex32Ny0oNqLtq57Eex22RiVLwmrb Js+A2dcxPGAfPBXXFkf3KgwzG3W/gyWMcyLcAf0qpe8Cn2+R5EwvQdoaoGrfqQVYwbpM AULA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=dbGI7v9rzg/Ac7uwlTJsLHWm06iT1PR6qePnkUIC9XA=; b=XZr/eu8kIacQQ6+7KcWMf48Kk5fhI7CJrDWZeOr35CNSEFKLPujnn1bN0QJU334ztm ifmGlLcf2pBfe/C745nIJ8VMSDGWGmKObSDaYlb0UF0tzHgf6Gh7XfIObqoewPLmQ8Ds glm0ScnJO8MNwMsfQ22FrSryHuc6F4FPxHQ4aV3RrIYU5YB/vv1yUXo0KubVO9pxM6ld ynsy8NeJa2SGaNN56zk/LjQAWOAVRaVBwvKP7fIbJK/jQy3elGldrx1HzvAjm0878LD8 P9mdYtp+h0paRBCtS3RzSsrG/9+QKDu9uN4BlYuY5T6TQoWd13FksSINlL0Hud0oo4Zv HfYg== X-Gm-Message-State: AOAM530vpbtJotOlazlGDftQEFhuYgDu9yZGWZajRpBvq4+1XgXOE9oo +QzUXYT+gweniGYvw2BDr05i8VoYsqqd X-Google-Smtp-Source: ABdhPJzgR0jm3M2pJ8FWv89j3WkCT1Y2LQKWLnM5V+nQ3jpXXF8+NUr8PvJs6AJ5Wyew+OsnB3plQQsMs+Of X-Received: by 2002:a05:6902:4e9:: with SMTP id w9mr52565520ybs.311.1593099357573; Thu, 25 Jun 2020 08:35:57 -0700 (PDT) Date: Thu, 25 Jun 2020 23:35:41 +0800 In-Reply-To: <20200625153543.85039-1-tzungbi@google.com> Message-Id: <20200625153543.85039-2-tzungbi@google.com> Mime-Version: 1.0 References: <20200625153543.85039-1-tzungbi@google.com> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH v2 1/3] ASoC: core: move definition of enum snd_soc_bias_level From: Tzung-Bi Shih To: broonie@kernel.org Cc: tzungbi@google.com, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To fix compilation error: - error: field 'XXX' has incomplete type Moves definition of enum snd_soc_bias_level from soc.h to soc-dapm.h. Signed-off-by: Tzung-Bi Shih --- include/sound/soc-dapm.h | 18 ++++++++++++++++++ include/sound/soc.h | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index cc3dcb815282..75467f2ed405 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -376,6 +376,24 @@ struct snd_soc_dapm_widget_list; struct snd_soc_dapm_update; enum snd_soc_dapm_direction; +/* + * Bias levels + * + * @ON: Bias is fully on for audio playback and capture operations. + * @PREPARE: Prepare for audio operations. Called before DAPM switching for + * stream start and stop operations. + * @STANDBY: Low power standby state when no playback/capture operations are + * in progress. NOTE: The transition time between STANDBY and ON + * should be as fast as possible and no longer than 10ms. + * @OFF: Power Off. No restrictions on transition times. + */ +enum snd_soc_bias_level { + SND_SOC_BIAS_OFF = 0, + SND_SOC_BIAS_STANDBY = 1, + SND_SOC_BIAS_PREPARE = 2, + SND_SOC_BIAS_ON = 3, +}; + int dapm_regulator_event(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int dapm_clock_event(struct snd_soc_dapm_widget *w, diff --git a/include/sound/soc.h b/include/sound/soc.h index 33aceadebd03..6791b7570a67 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -368,24 +368,6 @@ #define SOC_ENUM_SINGLE_VIRT_DECL(name, xtexts) \ const struct soc_enum name = SOC_ENUM_SINGLE_VIRT(ARRAY_SIZE(xtexts), xtexts) -/* - * Bias levels - * - * @ON: Bias is fully on for audio playback and capture operations. - * @PREPARE: Prepare for audio operations. Called before DAPM switching for - * stream start and stop operations. - * @STANDBY: Low power standby state when no playback/capture operations are - * in progress. NOTE: The transition time between STANDBY and ON - * should be as fast as possible and no longer than 10ms. - * @OFF: Power Off. No restrictions on transition times. - */ -enum snd_soc_bias_level { - SND_SOC_BIAS_OFF = 0, - SND_SOC_BIAS_STANDBY = 1, - SND_SOC_BIAS_PREPARE = 2, - SND_SOC_BIAS_ON = 3, -}; - struct device_node; struct snd_jack; struct snd_soc_card; From patchwork Thu Jun 25 15:35:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 11625593 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 257DD618 for ; Thu, 25 Jun 2020 15:38:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF199207E8 for ; Thu, 25 Jun 2020 15:38:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="dawKr+g0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="F5rLCh58" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF199207E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2D5171913; Thu, 25 Jun 2020 17:37:40 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2D5171913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1593099507; bh=5fDD8NmEW9QkobIY6oHmA1VE9pr6WZBgTjYo2fUKWMQ=; h=Date:In-Reply-To:References:Subject:From:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=dawKr+g0kzrDNElpcTMUXRoNCSILgR8qh1OeCMHKpNIy8QXrdpMmF5Z/blnBvnHR+ 6jOsTP3EJmstXqRQMIa40pMQc6l31VhTWfuo45Co9fo2wLm3ZOQSEVYGD1FQWhd9Mp f2UCPvb8YRLtJ815ApxDoHTjroGcATxXdc5MgTFE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DAD00F802A1; Thu, 25 Jun 2020 17:36:07 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id A309AF802A1; Thu, 25 Jun 2020 17:36:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=disabled version=3.4.0 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6E70EF8025E for ; Thu, 25 Jun 2020 17:36:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6E70EF8025E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F5rLCh58" Received: by mail-yb1-xb49.google.com with SMTP id l9so5565472ybm.20 for ; Thu, 25 Jun 2020 08:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=VXKiWv6DTV1TrKdYwUuMhghuxgm18ckN/7p6PszOuRE=; b=F5rLCh58RdVQQgE9xgJsRGLi63Ct3V4A7EroMli62T/ytob3QLnhVf+a4nxCAR8pu0 +Op3zbLg9E1ysSbKrIvcZDV7+KO/1kTEQuJZC76D9zz9yQRyYzCA4YldrrPMxt+D7Znb jUNxGIpWy9W5nmanSJcHEJYyE940ISM2zZ1V4rTqVDQ2ZQznW2DQPy/iCH6i+97Uz0vR 7r6QUF+L6gN3PRKYxYDgpr8/SpNe+mKHFxfhgokEROr6bm1/hcKeE6qI0Rpwf9GT/hAa ao/54jfYbm5VfLRyUSYZz4NG2BEDnYsd4R/1mVarUmEy++f/LbKDKc5c+rwplRIqBMtt YWcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=VXKiWv6DTV1TrKdYwUuMhghuxgm18ckN/7p6PszOuRE=; b=TrgjOdXixJ9IVxgE68iHYfdJ3JCAgzP30wHbh/u1XA1kwEpGAPb8W21Nd8/W2vpMN/ 5qzh/lvAAWy7tyXPFAsYdNiHUxA6NvF5MGGrYjkMh3glh9O3vs6D7vrrfZ2sIXl/L3rc ziyTt1Oh/sKqgSYBN0xlKdYSnaN5fI4NJgU9GzwgYbLDex3et+HOIS6bJ0hhNCHhrDkD Xd0vZPXSGqaOP3e852nRW3jZWFS4WBNcNaqD5jBQAs0bFYYR/7FlgVneEzJhp/GrMYEp b9mrQSTO1F0Do8L09yxhm9EDBN96b6omvuw55AxtRr+V9w82sgVxYszWXJOquzPa6LUJ /Q8g== X-Gm-Message-State: AOAM533qdkZqUliRChTfCtmMAekBH6zx9o57NrbeBEMBRfgJJ1jrapOr KbsT3Rzy5GBk33e2a4YwW0KTqtbD+4+M X-Google-Smtp-Source: ABdhPJy5PZyhdFaR4SpFVtZms0KvvXK3BCjXrGrhkRySd63KDoleRAWNmxBbloZMg+d8FvN2n2qdZc28h6V0 X-Received: by 2002:a25:b51:: with SMTP id 78mr54320051ybl.186.1593099361606; Thu, 25 Jun 2020 08:36:01 -0700 (PDT) Date: Thu, 25 Jun 2020 23:35:42 +0800 In-Reply-To: <20200625153543.85039-1-tzungbi@google.com> Message-Id: <20200625153543.85039-3-tzungbi@google.com> Mime-Version: 1.0 References: <20200625153543.85039-1-tzungbi@google.com> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH v2 2/3] ASoC: dapm: declare missing structure prototypes From: Tzung-Bi Shih To: broonie@kernel.org Cc: tzungbi@google.com, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To fix compilation warnings: - struct 'snd_soc_pcm_runtime' declared inside parameter list will not be visible outside of this definition or declaration - struct 'soc_enum' declared inside parameter list will not be visible outside of this definition or declaration Declares the missing structure prototypes. Signed-off-by: Tzung-Bi Shih --- include/sound/soc-dapm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 75467f2ed405..c3039e97929a 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -16,6 +16,8 @@ #include struct device; +struct snd_soc_pcm_runtime; +struct soc_enum; /* widget has no PM register bit */ #define SND_SOC_NOPM -1 From patchwork Thu Jun 25 15:35:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 11625599 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FF2B90 for ; Thu, 25 Jun 2020 15:39:04 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16FE4207E8 for ; Thu, 25 Jun 2020 15:39:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="RnCxQ4A2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="hXvY1bBA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16FE4207E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A1C4B18F7; Thu, 25 Jun 2020 17:38:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A1C4B18F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1593099542; bh=LBnAqOWvMF0TwLhGFH/6+nLIeIq3MkoxXPwGb1WfbZo=; h=Date:In-Reply-To:References:Subject:From:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RnCxQ4A24+vE6els8wOjvgffUKe9cJ+qjYCzn4z3DRLL98x6nidgtwSQVhm83HtVX x32Qbzbi2lmwou/8ZSruA5R/xHbWlDSDQMrECQlVQzDtYycxZAF0TwRbuTy5PJKtZU jYIkFDxxsxAfy6yOLDp3YdJ//uGTJ8eiRfEpzAF8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B910FF80277; Thu, 25 Jun 2020 17:36:11 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E6FCF802A9; Thu, 25 Jun 2020 17:36:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=disabled version=3.4.0 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A61C6F80277 for ; Thu, 25 Jun 2020 17:36:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A61C6F80277 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hXvY1bBA" Received: by mail-yb1-xb4a.google.com with SMTP id s7so6306074ybg.10 for ; Thu, 25 Jun 2020 08:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=EFwYktgb+C9BYJHmu4sWEq4oKpCBtteUl7A5uy2GvuY=; b=hXvY1bBAik21jodL1xH+xztiZ0BH1qhw9qEM1TIlNqxE/E58OC9JNA2ELWS74b7+fx T3dhYNMcCtOBHicFTj7ZecjcLzHYaSx23pnRqwzBQXF4H0EJft6pR0miShp+x3xo0fva g3GBp+gbWPQhU8xW0dP8z/SeXiGzo1GB4iJVyuM1hFCsz+hEdK0NJMWbj1sUMi/TpL7G dAQ86DSl+K+bwdFl3QD61S6xmyAUK+B/+/QjqC1Rcxe7gt9H/YMllHHqViS8hX+Alkur BkoW3mjUqbAL7kb06UlkWANghPV5hcyQ+W7pgD22gp9Gc60qwO/CmsGhpSswxH5Nuhj9 hC6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=EFwYktgb+C9BYJHmu4sWEq4oKpCBtteUl7A5uy2GvuY=; b=CpVih+/TtzHN3ji0ap1v82rnk5vtOocD/LRmAoO5PczOMf6X3XQH/07TKSsDkCSF8I aOufBYpEWOp68FVHQ7TvDTDuqAMk/pEozWCL0wILBtJT2WxyykFeCcl8++mHMX+D1OBm sg/yCQuaBSK+BbAjSwlweQ8w2LxyLQQeAwfEoE8hwr1sXVOJRlOdXq5dB+0stVjcNL5Y WvPnx6pVpXBg68MToOockQBa529FGwJeJ4C92dFak8hEC6+I1Tn5XxGExq6qmG3B5MyN 43qpi2aN4z6hWiIXW2ZrSwmDBcg4yRkSzWPS3xsQ/VDy+UHP04MZKw2g9kFb9O+amKIc NKvw== X-Gm-Message-State: AOAM530CpSsNPd8iWsIZeO31cg5e6d/NlUtf7a7Cr+LmLQzsUcyg5Daf GLvLhigZ7+bUvfDjamHsVJU8ptNg/CW+ X-Google-Smtp-Source: ABdhPJws1siCEPawyCnky3MCrEEnI0np3dsitr9yXn3ymNEJMHk1ScmAn+/Dbc1LT9K1p7aCSgvNx0JfRWJL X-Received: by 2002:a25:4cc8:: with SMTP id z191mr51525018yba.211.1593099365099; Thu, 25 Jun 2020 08:36:05 -0700 (PDT) Date: Thu, 25 Jun 2020 23:35:43 +0800 In-Reply-To: <20200625153543.85039-1-tzungbi@google.com> Message-Id: <20200625153543.85039-4-tzungbi@google.com> Mime-Version: 1.0 References: <20200625153543.85039-1-tzungbi@google.com> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH v2 3/3] ASoC: rt1015: add missing header inclusion From: Tzung-Bi Shih To: broonie@kernel.org Cc: tzungbi@google.com, alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To fix compilation error: error: implicit declaration of function 'ACPI_PTR' [-Werror,-Wimplicit-function-declaration] .acpi_match_table = ACPI_PTR(rt1015_acpi_match), ^ Adds the missing header "acpi.h" inclusion and sorts in alphabetical. Signed-off-by: Tzung-Bi Shih --- sound/soc/codecs/rt1015.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index 1f61b4aa4353..548f68649064 100644 --- a/sound/soc/codecs/rt1015.c +++ b/sound/soc/codecs/rt1015.c @@ -8,23 +8,24 @@ // // +#include +#include +#include #include +#include +#include +#include #include #include -#include -#include +#include #include #include -#include -#include -#include -#include #include +#include #include #include -#include #include -#include +#include #include #include "rl6231.h"