Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2948463imm; Thu, 24 May 2018 19:41:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqVDbxhICnOAWzDJShuG+N0H6THtE27ABoQemfo3pNYXuRQMxSvN8tR1B4s6m2/LMyh6ZN5 X-Received: by 2002:a17:902:20c9:: with SMTP id v9-v6mr625331plg.206.1527216098914; Thu, 24 May 2018 19:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527216098; cv=none; d=google.com; s=arc-20160816; b=HMvbOc4vy5xz12dmVhUiLp+MuoSetXfiRSF4qdSu8iYpHgv2uOUzIjHoT5wGUjEciE rHivcUmOkxd839ls4dWmy8LE7k9c792A2utUGpD62ashl8BWaV+UCel6rmsWyDCZNxV5 JIqKjhPqzESPRX65AIRomsTYm6NOHTWvZuZt7Jwm+fUh6+vs9ABqYfB6X0se3HRy00XX NV8YJll07wPkCh5F8nL73hnRJUez4aShPlUwm4epZxGinyA/6nCZlcinlOYmnoBk/tsX NzHjHH/3AMKX3OlTm2HNReB10gMrTvG6QS9hkNFLtBc4xQsNl32TftJ2xjzwZZIKqTLs 2sIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=/DT3AYF5gBUADRRCb1et+16G09rhTYpOuA/o8LHVCgw=; b=0RtWbyZ1LYRidNkIcIaEtOnXzOj+3k3tTCAoVO0o/xeqfoRgByFNtCf3V/+6UNBLXQ mL1f8QDFZOs1GK84dqcCTbI3f8gM8suaUn7LvvvJ9L9XGkEaOn6bsGYrhXt/GTPveKqX MZbbvsEHEbpxL42JgQ9g2OnlNHKysrdd188Qr5wU/dsr8RHWMrvlAxQGSr4YusT3nK9M gnDksdqQV2qlchDKQCkez9b2k70k9Em4JzCBV2S19NV78vWr4jGs7sEZUFn04wqbS0Jw 4GfvFPFt493NS04iDhTORUz3Vt55HuGr9GAcwgGBBTOf8+knUSUAGL+5tjqK3rwgTaNx Vzdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=Hpc0Q17o; 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 o63-v6si22281649pfg.5.2018.05.24.19.41.24; Thu, 24 May 2018 19:41:38 -0700 (PDT) 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; dkim=fail header.i=@roeck-us.net header.s=default header.b=Hpc0Q17o; 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 S971236AbeEXTtc (ORCPT + 99 others); Thu, 24 May 2018 15:49:32 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:52748 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S971226AbeEXTt3 (ORCPT ); Thu, 24 May 2018 15:49:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=References:In-Reply-To:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/DT3AYF5gBUADRRCb1et+16G09rhTYpOuA/o8LHVCgw=; b=Hpc0Q17obUTXn6qTU+oZIRAZO vRoDtsdMFO9fibV/LdEtqHnuTjJa3wHyo8bRVysJAKiCImw5R/INRwR5zM3VI1rqwviysi8D8Yor1 B/sYtpAoZrQCfE8I9ZLAExz7eRVMnIFlYlO84gQR8d5ekuue28ZQp5XD2gWbV3gT1bSUpjEzB23gO gTrZB6e7RhSjI3cR9DrlHXnwZRSEOalpcT9j9R3jfYEvy33njEJu5UDAWAR7FnvCRV4vrQJqKq1C5 aUFpMF/Zcyg/3i6t4fRG1HcvW+pLyRk7tSjITz3hr7ck5ewgRgMWZej8DMLWxOwcHdUmiQzgdk8Qm 6Sq/3Z6aQ==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:60310 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1fLwEq-000qRv-BA; Thu, 24 May 2018 19:49:29 +0000 From: Guenter Roeck To: Takashi Iwai , Mark Brown , Liam Girdwood Cc: Jaroslav Kysela , Chintan Patel , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Guenter Roeck Subject: [PATCH v2 3/3] ASoC: topology: Move skl-tplg-interface.h to uapi Date: Thu, 24 May 2018 12:49:23 -0700 Message-Id: <1527191363-21021-3-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527191363-21021-1-git-send-email-linux@roeck-us.net> References: <1527191363-21021-1-git-send-email-linux@roeck-us.net> X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck skl-tplg-interface.h describes firmware format details for Skylake topology files. It is part of the ABI and should reside in the uapi directory. While moving the file, also replace the license boilerplate with the SPDX License Identifier. No functional change. Signed-off-by: Guenter Roeck --- v2: Added patch to series .../uapi/sound}/skl-tplg-interface.h | 11 +---------- sound/soc/intel/skylake/skl-debug.c | 2 +- sound/soc/intel/skylake/skl-messages.c | 2 +- sound/soc/intel/skylake/skl-topology.c | 2 +- sound/soc/intel/skylake/skl-topology.h | 2 +- 5 files changed, 5 insertions(+), 14 deletions(-) rename {sound/soc/intel/skylake => include/uapi/sound}/skl-tplg-interface.h (90%) diff --git a/sound/soc/intel/skylake/skl-tplg-interface.h b/include/uapi/sound/skl-tplg-interface.h similarity index 90% rename from sound/soc/intel/skylake/skl-tplg-interface.h rename to include/uapi/sound/skl-tplg-interface.h index b0e3d376594c..f58cafa42f18 100644 --- a/sound/soc/intel/skylake/skl-tplg-interface.h +++ b/include/uapi/sound/skl-tplg-interface.h @@ -1,19 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * skl-tplg-interface.h - Intel DSP FW private data interface * * Copyright (C) 2015 Intel Corp * Author: Jeeja KP * Nilofer, Samreen - * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as version 2, as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. */ #ifndef __HDA_TPLG_INTERFACE_H__ diff --git a/sound/soc/intel/skylake/skl-debug.c b/sound/soc/intel/skylake/skl-debug.c index a016455a6ddb..a7a5deaf12f3 100644 --- a/sound/soc/intel/skylake/skl-debug.c +++ b/sound/soc/intel/skylake/skl-debug.c @@ -15,10 +15,10 @@ #include #include +#include #include "skl.h" #include "skl-sst-dsp.h" #include "skl-sst-ipc.h" -#include "skl-tplg-interface.h" #include "skl-topology.h" #include "../common/sst-dsp.h" #include "../common/sst-dsp-priv.h" diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index 57d4a58522a6..fdea186615c6 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "skl-sst-dsp.h" #include "cnl-sst-dsp.h" #include "skl-sst-ipc.h" @@ -28,7 +29,6 @@ #include "../common/sst-dsp.h" #include "../common/sst-dsp-priv.h" #include "skl-topology.h" -#include "skl-tplg-interface.h" static int skl_alloc_dma_buf(struct device *dev, struct snd_dma_buffer *dmab, size_t size) diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index 9e4c2cb88dea..2c5129782959 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -23,11 +23,11 @@ #include #include #include +#include #include "skl-sst-dsp.h" #include "skl-sst-ipc.h" #include "skl-topology.h" #include "skl.h" -#include "skl-tplg-interface.h" #include "../common/sst-dsp.h" #include "../common/sst-dsp-priv.h" diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index b1e0667c0ae0..6d7e0569695f 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -25,8 +25,8 @@ #include #include +#include #include "skl.h" -#include "skl-tplg-interface.h" #define BITS_PER_BYTE 8 #define MAX_TS_GROUPS 8 -- 2.17.0.441.gb46fe60e1d-goog