forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/sound/pci/hda/patch_ca0110.c
....@@ -1,28 +1,15 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * HD audio interface patch for Creative X-Fi CA0110-IBG chip
34 *
45 * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
5
- *
6
- * This driver is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This driver is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #include <linux/init.h>
229 #include <linux/slab.h>
2310 #include <linux/module.h>
2411 #include <sound/core.h>
25
-#include "hda_codec.h"
12
+#include <sound/hda_codec.h>
2613 #include "hda_local.h"
2714 #include "hda_auto_parser.h"
2815 #include "hda_jack.h"
....@@ -66,7 +53,7 @@
6653 codec->patch_ops = ca0110_patch_ops;
6754
6855 spec->multi_cap_vol = 1;
69
- codec->bus->needs_damn_long_delay = 1;
56
+ codec->bus->core.needs_damn_long_delay = 1;
7057
7158 err = ca0110_parse_auto_config(codec);
7259 if (err < 0)