forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/atmel/atmel_ssc_dai.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * atmel_ssc_dai.h - ALSA SSC interface for the Atmel SoC
34 *
....@@ -11,20 +12,6 @@
1112 * Frank Mandarino <fmandarino@endrelia.com>
1213 * Based on pxa2xx Platform drivers by
1314 * Liam Girdwood <lrg@slimlogic.co.uk>
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License as published by
17
- * the Free Software Foundation; either version 2 of the License, or
18
- * (at your option) any later version.
19
- *
20
- * This program is distributed in the hope that it will be useful,
21
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- * GNU General Public License for more details.
24
- *
25
- * You should have received a copy of the GNU General Public License
26
- * along with this program; if not, write to the Free Software
27
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2815 */
2916
3017 #ifndef _ATMEL_SSC_DAI_H
....@@ -106,7 +93,6 @@
10693 struct atmel_ssc_info {
10794 char *name;
10895 struct ssc_device *ssc;
109
- spinlock_t lock; /* lock for dir_mask */
11096 unsigned short dir_mask; /* 0=unused, 1=playback, 2=capture */
11197 unsigned short initialized; /* true if SSC has been initialized */
11298 unsigned short daifmt;