Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tim Bird and committed by
Takashi Iwai
65ff3a8d 91062e11

+9 -128
+1 -16
sound/core/oss/copy.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Linear conversion Plug-In 3 4 * 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 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/io.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM I/O Plug-In Interface 3 4 * 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 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/linear.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Linear conversion Plug-In 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>, 4 5 * 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 - * 21 6 */ 22 7 23 8 #include <linux/time.h>
+1 -15
sound/core/oss/mulaw.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Mu-Law conversion Plug-In Interface 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 5 * Uros Bizjak <uros@kss-loka.si> 5 6 * 6 7 * 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 - * 22 8 */ 23 9 24 10 #include <linux/time.h>
+1 -16
sound/core/oss/pcm_plugin.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM Plug-In shared (kernel/library) code 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 5 * 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 - * 21 6 */ 22 7 23 8 #if 0
+1 -16
sound/core/oss/rate.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Rate conversion Plug-In 3 4 * 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 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/route.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Route Plug-In 3 4 * 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 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+2 -17
sound/core/pcm_misc.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM Interface - misc routines 3 4 * 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 - * 20 5 */ 21 - 6 + 22 7 #include <linux/time.h> 23 8 #include <linux/export.h> 24 9 #include <sound/core.h>