提交 4bafcf07 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: Drop ac97_control initialization from CODEC driver DAIs

This is no longer necessary as there is no code anymore that uses this for
CODEC DAIs.
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 6794f709
...@@ -53,7 +53,6 @@ static const struct snd_soc_dai_ops ac97_dai_ops = { ...@@ -53,7 +53,6 @@ static const struct snd_soc_dai_ops ac97_dai_ops = {
static struct snd_soc_dai_driver ac97_dai = { static struct snd_soc_dai_driver ac97_dai = {
.name = "ac97-hifi", .name = "ac97-hifi",
.ac97_control = 1,
.playback = { .playback = {
.stream_name = "AC97 Playback", .stream_name = "AC97 Playback",
.channels_min = 1, .channels_min = 1,
......
...@@ -170,7 +170,6 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -170,7 +170,6 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg,
static struct snd_soc_dai_driver ad1980_dai = { static struct snd_soc_dai_driver ad1980_dai = {
.name = "ad1980-hifi", .name = "ad1980-hifi",
.ac97_control = 1,
.playback = { .playback = {
.stream_name = "Playback", .stream_name = "Playback",
.channels_min = 2, .channels_min = 2,
......
...@@ -294,7 +294,6 @@ static const struct snd_soc_dai_ops stac9766_dai_ops_digital = { ...@@ -294,7 +294,6 @@ static const struct snd_soc_dai_ops stac9766_dai_ops_digital = {
static struct snd_soc_dai_driver stac9766_dai[] = { static struct snd_soc_dai_driver stac9766_dai[] = {
{ {
.name = "stac9766-hifi-analog", .name = "stac9766-hifi-analog",
.ac97_control = 1,
/* stream cababilities */ /* stream cababilities */
.playback = { .playback = {
...@@ -316,7 +315,6 @@ static struct snd_soc_dai_driver stac9766_dai[] = { ...@@ -316,7 +315,6 @@ static struct snd_soc_dai_driver stac9766_dai[] = {
}, },
{ {
.name = "stac9766-hifi-IEC958", .name = "stac9766-hifi-IEC958",
.ac97_control = 1,
/* stream cababilities */ /* stream cababilities */
.playback = { .playback = {
......
...@@ -263,7 +263,6 @@ static const struct snd_soc_dai_ops wm9705_dai_ops = { ...@@ -263,7 +263,6 @@ static const struct snd_soc_dai_ops wm9705_dai_ops = {
static struct snd_soc_dai_driver wm9705_dai[] = { static struct snd_soc_dai_driver wm9705_dai[] = {
{ {
.name = "wm9705-hifi", .name = "wm9705-hifi",
.ac97_control = 1,
.playback = { .playback = {
.stream_name = "HiFi Playback", .stream_name = "HiFi Playback",
.channels_min = 1, .channels_min = 1,
......
...@@ -565,7 +565,6 @@ static const struct snd_soc_dai_ops wm9712_dai_ops_aux = { ...@@ -565,7 +565,6 @@ static const struct snd_soc_dai_ops wm9712_dai_ops_aux = {
static struct snd_soc_dai_driver wm9712_dai[] = { static struct snd_soc_dai_driver wm9712_dai[] = {
{ {
.name = "wm9712-hifi", .name = "wm9712-hifi",
.ac97_control = 1,
.playback = { .playback = {
.stream_name = "HiFi Playback", .stream_name = "HiFi Playback",
.channels_min = 1, .channels_min = 1,
......
...@@ -1076,7 +1076,6 @@ static const struct snd_soc_dai_ops wm9713_dai_ops_voice = { ...@@ -1076,7 +1076,6 @@ static const struct snd_soc_dai_ops wm9713_dai_ops_voice = {
static struct snd_soc_dai_driver wm9713_dai[] = { static struct snd_soc_dai_driver wm9713_dai[] = {
{ {
.name = "wm9713-hifi", .name = "wm9713-hifi",
.ac97_control = 1,
.playback = { .playback = {
.stream_name = "HiFi Playback", .stream_name = "HiFi Playback",
.channels_min = 1, .channels_min = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册