.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | |
---|
2 | 3 | /* |
---|
3 | 4 | card-als100.c - driver for Avance Logic ALS100 based soundcards. |
---|
.. | .. |
---|
9 | 10 | Generalised for soundcards based on DT-0196 and ALS-007 chips |
---|
10 | 11 | by Jonathan Woithe <jwoithe@just42.net>: June 2002. |
---|
11 | 12 | |
---|
12 | | - This program is free software; you can redistribute it and/or modify |
---|
13 | | - it under the terms of the GNU General Public License as published by |
---|
14 | | - the Free Software Foundation; either version 2 of the License, or |
---|
15 | | - (at your option) any later version. |
---|
16 | | - |
---|
17 | | - This program is distributed in the hope that it will be useful, |
---|
18 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
19 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
20 | | - GNU General Public License for more details. |
---|
21 | | - |
---|
22 | | - You should have received a copy of the GNU General Public License |
---|
23 | | - along with this program; if not, write to the Free Software |
---|
24 | | - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
25 | 13 | */ |
---|
26 | 14 | |
---|
27 | 15 | #include <linux/init.h> |
---|
.. | .. |
---|
322 | 310 | struct snd_sb *chip = acard->chip; |
---|
323 | 311 | |
---|
324 | 312 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
---|
325 | | - snd_pcm_suspend_all(chip->pcm); |
---|
326 | 313 | snd_sbmixer_suspend(chip); |
---|
327 | 314 | return 0; |
---|
328 | 315 | } |
---|