From patchwork Thu May 23 03:58:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10956883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC38C13AD for ; Thu, 23 May 2019 03:59:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA54827F17 for ; Thu, 23 May 2019 03:59:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEA0427F3E; Thu, 23 May 2019 03:59:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 56D4627F17 for ; Thu, 23 May 2019 03:59:44 +0000 (UTC) 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 CEFBA15F2; Thu, 23 May 2019 05:58:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CEFBA15F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1558583981; bh=SWKaekSAESlpdzTMecBwHpwuVV9O6baWMPuvA5UVUeE=; h=To:From:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=TprMlFgnmwci8MIpB8OMnLnO/rBRxGEkq/RIuwlCvOitMy/gaVvunVm6Z7nzp7m1i 39O4nohowlYWlv8U9kCiRutlJ06oqikpYezzGVWpMZAh1dMZyCS0UletAHo9MZzHwm Q6UYqjAedqfqwWgviwK6MC/YpEWi2tXByTvTzU8Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 46A30F89670; Thu, 23 May 2019 05:58:51 +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 A9788F89674; Thu, 23 May 2019 05:58:48 +0200 (CEST) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 61601F8079B for ; Thu, 23 May 2019 05:58:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 61601F8079B Authentication-Results: alsa1.perex.cz; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KejvbuT5" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=texO5kjCiEyRmA9j8g6TTKwQQkF5isv3f023B/uvzhs=; b=KejvbuT5ypOOy1kGXQohTsyf7 FNfeMpU0pDrgoKMZww1WiKg/xa5W1ZRCiJZgImZ1b4SYOqY2sW4hAXtTHfZIFJC9FJG7vVsUz3pUc kY4Xq6DKYVHO/oaaMv0B2c15hoNaVgzYC5BUkQwVoP6UPSYsjO3CPiTKVsIoAz5MoPESZ91Kg1Vni a/uou4gXI6+Jx8uSLJyLYobPvknnVxdUPaHCD06JyiD7/EgpZvvS8BjXuibJzy6tnKYidtxGzSKs6 v71HEPit5etVQrMYejPK1woKwOV7M9WXvskhQa15vVfNMEtSglArMQYGGVA2gmsL1t0dFR/varD/s KorAFxyHg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTesJ-00057R-Ai; Thu, 23 May 2019 03:58:39 +0000 To: LKML , moderated for non-subscribers From: Randy Dunlap Message-ID: <9019c87f-cf1a-b59f-d87e-8169b247cf88@infradead.org> Date: Wed, 22 May 2019 20:58:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Language: en-US Cc: Liam Girdwood , Mark Brown , Jie Yang , kbuild test robot , Pierre-Louis Bossart Subject: [alsa-devel] [PATCH] ASoc: fix sound/soc/intel/skylake/slk-ssp-clk.c build error on IA64 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" X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap skl-ssp-clk.c does not build on IA64 because the driver uses the common clock interface, so make the driver depend on COMMON_CLK. Fixes this build error: ../sound/soc/intel/skylake/skl-ssp-clk.c:26:16: error: field 'hw' has incomplete type struct clk_hw hw; ^~ Reported-by: kbuild test robot Signed-off-by: Randy Dunlap Cc: Mark Brown Cc: Pierre-Louis Bossart Cc: Liam Girdwood Cc: Jie Yang Cc: alsa-devel@alsa-project.org --- sound/soc/intel/Kconfig | 3 ++- sound/soc/intel/boards/Kconfig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) --- lnx-52-rc1.orig/sound/soc/intel/Kconfig +++ lnx-52-rc1/sound/soc/intel/Kconfig @@ -104,7 +104,7 @@ config SND_SST_ATOM_HIFI2_PLATFORM_ACPI config SND_SOC_INTEL_SKYLAKE tristate "All Skylake/SST Platforms" depends on PCI && ACPI - select SND_SOC_INTEL_SKL + select SND_SOC_INTEL_SKL if COMMON_CLK select SND_SOC_INTEL_APL select SND_SOC_INTEL_KBL select SND_SOC_INTEL_GLK @@ -120,6 +120,7 @@ config SND_SOC_INTEL_SKYLAKE config SND_SOC_INTEL_SKL tristate "Skylake Platforms" depends on PCI && ACPI + depends on COMMON_CLK select SND_SOC_INTEL_SKYLAKE_FAMILY help If you have a Intel Skylake platform with the DSP enabled --- lnx-52-rc1.orig/sound/soc/intel/boards/Kconfig +++ lnx-52-rc1/sound/soc/intel/boards/Kconfig @@ -286,7 +286,7 @@ config SND_SOC_INTEL_KBL_RT5663_MAX98927 select SND_SOC_MAX98927 select SND_SOC_DMIC select SND_SOC_HDAC_HDMI - select SND_SOC_INTEL_SKYLAKE_SSP_CLK + select SND_SOC_INTEL_SKYLAKE_SSP_CLK if COMMON_CLK help This adds support for ASoC Onboard Codec I2S machine driver. This will create an alsa sound card for RT5663 + MAX98927.