forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/isa/msnd/msnd.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*********************************************************************
23 *
34 * 2002/06/30 Karsten Wiese:
....@@ -18,20 +19,6 @@
1819 * Turtle Beach MultiSound Sound Card Driver for Linux
1920 *
2021 * Copyright (C) 1998 Andrew Veliath
21
- *
22
- * This program is free software; you can redistribute it and/or modify
23
- * it under the terms of the GNU General Public License as published by
24
- * the Free Software Foundation; either version 2 of the License, or
25
- * (at your option) any later version.
26
- *
27
- * This program is distributed in the hope that it will be useful,
28
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30
- * GNU General Public License for more details.
31
- *
32
- * You should have received a copy of the GNU General Public License
33
- * along with this program; if not, write to the Free Software
34
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
3522 *
3623 ********************************************************************/
3724
....@@ -575,7 +562,6 @@
575562 static const struct snd_pcm_ops snd_msnd_playback_ops = {
576563 .open = snd_msnd_playback_open,
577564 .close = snd_msnd_playback_close,
578
- .ioctl = snd_pcm_lib_ioctl,
579565 .hw_params = snd_msnd_playback_hw_params,
580566 .prepare = snd_msnd_playback_prepare,
581567 .trigger = snd_msnd_playback_trigger,
....@@ -672,7 +658,6 @@
672658 static const struct snd_pcm_ops snd_msnd_capture_ops = {
673659 .open = snd_msnd_capture_open,
674660 .close = snd_msnd_capture_close,
675
- .ioctl = snd_pcm_lib_ioctl,
676661 .hw_params = snd_msnd_capture_hw_params,
677662 .prepare = snd_msnd_capture_prepare,
678663 .trigger = snd_msnd_capture_trigger,