.. | .. |
---|
1 | | -/* sound/soc/samsung/s3c24xx_simtec_hermes.c |
---|
2 | | - * |
---|
3 | | - * Copyright 2009 Simtec Electronics |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | | -*/ |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
| 2 | +// |
---|
| 3 | +// Copyright 2009 Simtec Electronics |
---|
9 | 4 | |
---|
10 | 5 | #include <linux/module.h> |
---|
11 | 6 | #include <sound/soc.h> |
---|
.. | .. |
---|
68 | 63 | return 0; |
---|
69 | 64 | } |
---|
70 | 65 | |
---|
| 66 | +SND_SOC_DAILINK_DEFS(tlv320aic33, |
---|
| 67 | + DAILINK_COMP_ARRAY(COMP_CPU("s3c24xx-iis")), |
---|
| 68 | + DAILINK_COMP_ARRAY(COMP_CODEC("tlv320aic3x-codec.0-001a", |
---|
| 69 | + "tlv320aic3x-hifi")), |
---|
| 70 | + DAILINK_COMP_ARRAY(COMP_PLATFORM("s3c24xx-iis"))); |
---|
| 71 | + |
---|
71 | 72 | static struct snd_soc_dai_link simtec_dai_aic33 = { |
---|
72 | 73 | .name = "tlv320aic33", |
---|
73 | 74 | .stream_name = "TLV320AIC33", |
---|
74 | | - .codec_name = "tlv320aic3x-codec.0-001a", |
---|
75 | | - .cpu_dai_name = "s3c24xx-iis", |
---|
76 | | - .codec_dai_name = "tlv320aic3x-hifi", |
---|
77 | | - .platform_name = "s3c24xx-iis", |
---|
78 | 75 | .init = simtec_hermes_init, |
---|
| 76 | + SND_SOC_DAILINK_REG(tlv320aic33), |
---|
79 | 77 | }; |
---|
80 | 78 | |
---|
81 | 79 | /* simtec audio machine driver */ |
---|