.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * atmel_ssc_dai.h - ALSA SSC interface for the Atmel SoC |
---|
3 | 4 | * |
---|
.. | .. |
---|
11 | 12 | * Frank Mandarino <fmandarino@endrelia.com> |
---|
12 | 13 | * Based on pxa2xx Platform drivers by |
---|
13 | 14 | * 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 |
---|
28 | 15 | */ |
---|
29 | 16 | |
---|
30 | 17 | #ifndef _ATMEL_SSC_DAI_H |
---|
.. | .. |
---|
106 | 93 | struct atmel_ssc_info { |
---|
107 | 94 | char *name; |
---|
108 | 95 | struct ssc_device *ssc; |
---|
109 | | - spinlock_t lock; /* lock for dir_mask */ |
---|
110 | 96 | unsigned short dir_mask; /* 0=unused, 1=playback, 2=capture */ |
---|
111 | 97 | unsigned short initialized; /* true if SSC has been initialized */ |
---|
112 | 98 | unsigned short daifmt; |
---|