Skip to content

Commit 65ff3a8

Browse files
tbird20dtiwai
authored andcommitted
ALSA: core: Add SPDX license id to files
Add an SPDX id of LGPL-2.0+ to files in the sound core sub-system that are missing ids. Remove boilerplate text. These files were originally submitted in a big commit for the ALSA sound system for kernel version 2.5.4, by Jaroslav Kysela, in Feb 2002. Signed-off-by: Tim Bird <tim.bird@sony.com> Link: https://patch.msgid.link/20260212183103.3720788-1-tim.bird@sony.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 91062e1 commit 65ff3a8

8 files changed

Lines changed: 9 additions & 128 deletions

File tree

sound/core/oss/copy.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* Linear conversion Plug-In
34
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
4-
*
5-
*
6-
* This library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU Library General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
205
*/
216

227
#include <linux/time.h>

sound/core/oss/io.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* PCM I/O Plug-In Interface
34
* Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
4-
*
5-
*
6-
* This library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU Library General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
205
*/
216

227
#include <linux/time.h>

sound/core/oss/linear.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* Linear conversion Plug-In
34
* Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>,
45
* Abramo Bagnara <abramo@alsa-project.org>
5-
*
6-
*
7-
* This library is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU Library General Public License as
9-
* published by the Free Software Foundation; either version 2 of
10-
* the License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU Library General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU Library General Public
18-
* License along with this library; if not, write to the Free Software
19-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20-
*
216
*/
227

238
#include <linux/time.h>

sound/core/oss/mulaw.c

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* Mu-Law conversion Plug-In Interface
34
* Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
45
* Uros Bizjak <uros@kss-loka.si>
56
*
67
* Based on reference implementation by Sun Microsystems, Inc.
7-
*
8-
* This library is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU Library General Public License as
10-
* published by the Free Software Foundation; either version 2 of
11-
* the License, or (at your option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU Library General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU Library General Public
19-
* License along with this library; if not, write to the Free Software
20-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21-
*
228
*/
239

2410
#include <linux/time.h>

sound/core/oss/pcm_plugin.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* PCM Plug-In shared (kernel/library) code
34
* Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
45
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
5-
*
6-
*
7-
* This library is free software; you can redistribute it and/or modify
8-
* it under the terms of the GNU Library General Public License as
9-
* published by the Free Software Foundation; either version 2 of
10-
* the License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU Library General Public License for more details.
16-
*
17-
* You should have received a copy of the GNU Library General Public
18-
* License along with this library; if not, write to the Free Software
19-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20-
*
216
*/
227

238
#if 0

sound/core/oss/rate.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* Rate conversion Plug-In
34
* Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
4-
*
5-
*
6-
* This library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU Library General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
205
*/
216

227
#include <linux/time.h>

sound/core/oss/route.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* Route Plug-In
34
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
4-
*
5-
*
6-
* This library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU Library General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
205
*/
216

227
#include <linux/time.h>

sound/core/pcm_misc.c

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* PCM Interface - misc routines
34
* Copyright (c) 1998 by Jaroslav Kysela <perex@perex.cz>
4-
*
5-
*
6-
* This library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU Library General Public License as
8-
* published by the Free Software Foundation; either version 2 of
9-
* the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
205
*/
21-
6+
227
#include <linux/time.h>
238
#include <linux/export.h>
249
#include <sound/core.h>

0 commit comments

Comments
 (0)