diff options
Diffstat (limited to 'snd-pcxhr-dkms/src/pcxhr.h')
-rw-r--r-- | snd-pcxhr-dkms/src/pcxhr.h | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/snd-pcxhr-dkms/src/pcxhr.h b/snd-pcxhr-dkms/src/pcxhr.h index d559471..bd7c40d 100644 --- a/snd-pcxhr-dkms/src/pcxhr.h +++ b/snd-pcxhr-dkms/src/pcxhr.h @@ -1,23 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Driver for Digigram pcxhr soundcards * * main header file * * Copyright (c) 2004 by Digigram <alsa@digigram.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __SOUND_PCXHR_H @@ -29,7 +16,7 @@ #include "pcxhr_hrtimer.h" /* Driver version : 2.0.13 */ -#define PCXHR_DRIVER_VERSION 0x020013 +#define PCXHR_DRIVER_VERSION 0x020013 #define PCXHR_DRIVER_VERSION_STRING "2.0.13" /* Workaround for CentOS/RHEL */ @@ -104,17 +91,12 @@ struct pcxhr_mgr { unsigned long dsp_reg_offset; /* share the name */ - char shortname[32]; /* short name of this soundcard */ - char longname[96]; /* name of this soundcard */ + char name[40]; /* name of this soundcard */ - /* message tasklet */ - struct tasklet_struct msg_taskq; struct pcxhr_rmh *prmh; - /* trigger tasklet */ - struct tasklet_struct trigger_taskq; - spinlock_t lock; /* interrupt spinlock */ - spinlock_t msg_lock; /* message spinlock */ + struct mutex lock; /* interrupt lock */ + struct mutex msg_lock; /* message lock */ struct mutex setup_mutex; /* mutex used in hw_params, open and close */ struct mutex mixer_mutex; /* mutex for mixer */ |