forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/pci/au88x0/au88x0.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ALSA driver for the Aureal Vortex family of soundprocessors.
34 * Author: Manuel Jander (mjander@embedded.cl)
....@@ -141,7 +142,7 @@
141142 {
142143 vortex_t *chip;
143144 int err;
144
- static struct snd_device_ops ops = {
145
+ static const struct snd_device_ops ops = {
145146 .dev_free = snd_vortex_dev_free,
146147 };
147148
....@@ -201,6 +202,7 @@
201202 goto irq_out;
202203 }
203204 chip->irq = pci->irq;
205
+ card->sync_irq = chip->irq;
204206
205207 pci_set_master(pci);
206208 // End of PCI setup.