forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/pci/hda/hda_intel.h
....@@ -1,17 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
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.
153 */
164 #ifndef __SOUND_HDA_INTEL_H
175 #define __SOUND_HDA_INTEL_H
....@@ -26,7 +14,7 @@
2614
2715 /* sync probing */
2816 struct completion probe_wait;
29
- struct work_struct probe_work;
17
+ struct delayed_work probe_work;
3018
3119 /* card list (for power_save trigger) */
3220 struct list_head list;
....@@ -37,11 +25,13 @@
3725
3826 /* vga_switcheroo setup */
3927 unsigned int use_vga_switcheroo:1;
40
- unsigned int need_eld_notify_link:1;
4128 unsigned int vga_switcheroo_registered:1;
4229 unsigned int init_failed:1; /* delayed init failed */
30
+ unsigned int freed:1; /* resources already released */
4331
4432 bool need_i915_power:1; /* the hda controller needs i915 power */
33
+
34
+ int probe_retry; /* being probe-retry */
4535 };
4636
4737 #endif