forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/sound/pci/cs5535audio/cs5535audio_pm.c
....@@ -1,21 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Power management for audio on multifunction CS5535 companion device
34 * Copyright (C) Jaya Kumar
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
- *
195 */
206
217 #include <linux/init.h>
....@@ -62,7 +48,6 @@
6248 int i;
6349
6450 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
65
- snd_pcm_suspend_all(cs5535au->pcm);
6651 snd_ac97_suspend(cs5535au->ac97);
6752 for (i = 0; i < NUM_CS5535AUDIO_DMAS; i++) {
6853 struct cs5535audio_dma *dma = &cs5535au->dmas[i];