forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/fsl/mpc5200_psc_ac97.c
....@@ -1,13 +1,9 @@
1
-/*
2
- * linux/sound/mpc5200-ac97.c -- AC97 support for the Freescale MPC52xx chip.
3
- *
4
- * Copyright (C) 2009 Jon Smirl, Digispeaker
5
- * Author: Jon Smirl <jonsmirl@gmail.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- */
1
+// SPDX-License-Identifier: GPL-2.0
2
+//
3
+// linux/sound/mpc5200-ac97.c -- AC97 support for the Freescale MPC52xx chip.
4
+//
5
+// Copyright (C) 2009 Jon Smirl, Digispeaker
6
+// Author: Jon Smirl <jonsmirl@gmail.com>
117
128 #include <linux/module.h>
139 #include <linux/of_device.h>
....@@ -237,7 +233,6 @@
237233 static struct snd_soc_dai_driver psc_ac97_dai[] = {
238234 {
239235 .name = "mpc5200-psc-ac97.0",
240
- .bus_control = true,
241236 .probe = psc_ac97_probe,
242237 .playback = {
243238 .stream_name = "AC97 Playback",
....@@ -257,7 +252,6 @@
257252 },
258253 {
259254 .name = "mpc5200-psc-ac97.1",
260
- .bus_control = true,
261255 .playback = {
262256 .stream_name = "AC97 SPDIF",
263257 .channels_min = 1,