| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 3 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 4 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 5 | | - * (at your option) any later version. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 8 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 10 | | - * GNU Library General Public License for more details. |
|---|
| 11 | | - * |
|---|
| 12 | | - * You should have received a copy of the GNU General Public License |
|---|
| 13 | | - * along with this program; if not, write to the Free Software |
|---|
| 14 | | - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|---|
| 15 | 3 | */ |
|---|
| 16 | 4 | |
|---|
| 17 | 5 | #ifndef __SOUND_AU88X0_H |
|---|
| .. | .. |
|---|
| 153 | 141 | #ifndef CHIP_AU8810 |
|---|
| 154 | 142 | stream_t dma_wt[NR_WT]; |
|---|
| 155 | 143 | wt_voice_t wt_voice[NR_WT]; /* WT register cache. */ |
|---|
| 156 | | - char mixwt[(NR_WT / NR_WTPB) * 6]; /* WT mixin objects */ |
|---|
| 144 | + s8 mixwt[(NR_WT / NR_WTPB) * 6]; /* WT mixin objects */ |
|---|
| 157 | 145 | #endif |
|---|
| 158 | 146 | |
|---|
| 159 | 147 | /* Global resources */ |
|---|
| .. | .. |
|---|
| 247 | 235 | static void vortex_connect_default(vortex_t * vortex, int en); |
|---|
| 248 | 236 | static int vortex_adb_allocroute(vortex_t * vortex, int dma, int nr_ch, |
|---|
| 249 | 237 | int dir, int type, int subdev); |
|---|
| 250 | | -static char vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out, |
|---|
| 251 | | - int restype); |
|---|
| 238 | +static int vortex_adb_checkinout(vortex_t * vortex, int resmap[], int out, |
|---|
| 239 | + int restype); |
|---|
| 252 | 240 | #ifndef CHIP_AU8810 |
|---|
| 253 | 241 | static int vortex_wt_allocroute(vortex_t * vortex, int dma, int nr_ch); |
|---|
| 254 | 242 | static void vortex_wt_connect(vortex_t * vortex, int en); |
|---|