.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or modify it |
---|
3 | | - * under the terms of the GNU General Public License as published by the Free |
---|
4 | | - * Software Foundation; either version 2 of the License, or (at your option) |
---|
5 | | - * any later version. |
---|
6 | | - * |
---|
7 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
---|
8 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
9 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
10 | | - * more details. |
---|
11 | | - * |
---|
12 | | - * You should have received a copy of the GNU General Public License along with |
---|
13 | | - * this program; if not, write to the Free Software Foundation, Inc., 59 |
---|
14 | | - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
15 | 3 | */ |
---|
16 | 4 | #ifndef __SOUND_HDA_INTEL_H |
---|
17 | 5 | #define __SOUND_HDA_INTEL_H |
---|
.. | .. |
---|
26 | 14 | |
---|
27 | 15 | /* sync probing */ |
---|
28 | 16 | struct completion probe_wait; |
---|
29 | | - struct work_struct probe_work; |
---|
| 17 | + struct delayed_work probe_work; |
---|
30 | 18 | |
---|
31 | 19 | /* card list (for power_save trigger) */ |
---|
32 | 20 | struct list_head list; |
---|
.. | .. |
---|
37 | 25 | |
---|
38 | 26 | /* vga_switcheroo setup */ |
---|
39 | 27 | unsigned int use_vga_switcheroo:1; |
---|
40 | | - unsigned int need_eld_notify_link:1; |
---|
41 | 28 | unsigned int vga_switcheroo_registered:1; |
---|
42 | 29 | unsigned int init_failed:1; /* delayed init failed */ |
---|
| 30 | + unsigned int freed:1; /* resources already released */ |
---|
43 | 31 | |
---|
44 | 32 | bool need_i915_power:1; /* the hda controller needs i915 power */ |
---|
| 33 | + |
---|
| 34 | + int probe_retry; /* being probe-retry */ |
---|
45 | 35 | }; |
---|
46 | 36 | |
---|
47 | 37 | #endif |
---|