Skip to content

Commit 0c24fdc

Browse files
Guenter Roeckbroonie
authored andcommitted
ASoC: topology: Move skl-tplg-interface.h to uapi
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 <groeck@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 348f482 commit 0c24fdc

5 files changed

Lines changed: 5 additions & 14 deletions

File tree

sound/soc/intel/skylake/skl-tplg-interface.h renamed to include/uapi/sound/skl-tplg-interface.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* skl-tplg-interface.h - Intel DSP FW private data interface
34
*
45
* Copyright (C) 2015 Intel Corp
56
* Author: Jeeja KP <jeeja.kp@intel.com>
67
* Nilofer, Samreen <samreen.nilofer@intel.com>
7-
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as version 2, as
11-
* published by the Free Software Foundation.
12-
*
13-
* This program is distributed in the hope that it will be useful, but
14-
* WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
* General Public License for more details.
178
*/
189

1910
#ifndef __HDA_TPLG_INTERFACE_H__

‎sound/soc/intel/skylake/skl-debug.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
#include <linux/pci.h>
1717
#include <linux/debugfs.h>
18+
#include <uapi/sound/skl-tplg-interface.h>
1819
#include "skl.h"
1920
#include "skl-sst-dsp.h"
2021
#include "skl-sst-ipc.h"
21-
#include "skl-tplg-interface.h"
2222
#include "skl-topology.h"
2323
#include "../common/sst-dsp.h"
2424
#include "../common/sst-dsp-priv.h"

‎sound/soc/intel/skylake/skl-messages.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
#include <linux/pci.h>
2222
#include <sound/core.h>
2323
#include <sound/pcm.h>
24+
#include <uapi/sound/skl-tplg-interface.h>
2425
#include "skl-sst-dsp.h"
2526
#include "cnl-sst-dsp.h"
2627
#include "skl-sst-ipc.h"
2728
#include "skl.h"
2829
#include "../common/sst-dsp.h"
2930
#include "../common/sst-dsp-priv.h"
3031
#include "skl-topology.h"
31-
#include "skl-tplg-interface.h"
3232

3333
static int skl_alloc_dma_buf(struct device *dev,
3434
struct snd_dma_buffer *dmab, size_t size)

‎sound/soc/intel/skylake/skl-topology.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
#include <sound/soc.h>
2424
#include <sound/soc-topology.h>
2525
#include <uapi/sound/snd_sst_tokens.h>
26+
#include <uapi/sound/skl-tplg-interface.h>
2627
#include "skl-sst-dsp.h"
2728
#include "skl-sst-ipc.h"
2829
#include "skl-topology.h"
2930
#include "skl.h"
30-
#include "skl-tplg-interface.h"
3131
#include "../common/sst-dsp.h"
3232
#include "../common/sst-dsp-priv.h"
3333

‎sound/soc/intel/skylake/skl-topology.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#include <sound/hdaudio_ext.h>
2727
#include <sound/soc.h>
28+
#include <uapi/sound/skl-tplg-interface.h>
2829
#include "skl.h"
29-
#include "skl-tplg-interface.h"
3030

3131
#define BITS_PER_BYTE 8
3232
#define MAX_TS_GROUPS 8

0 commit comments

Comments
 (0)