| .. | .. |
|---|
| 1 | | -/* sound/soc/samsung/s3c24xx_simtec_tlv320aic23.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> |
|---|
| .. | .. |
|---|
| 57 | 52 | return 0; |
|---|
| 58 | 53 | } |
|---|
| 59 | 54 | |
|---|
| 55 | +SND_SOC_DAILINK_DEFS(tlv320aic23, |
|---|
| 56 | + DAILINK_COMP_ARRAY(COMP_CPU("s3c24xx-iis")), |
|---|
| 57 | + DAILINK_COMP_ARRAY(COMP_CODEC("tlv320aic3x-codec.0-001a", |
|---|
| 58 | + "tlv320aic3x-hifi")), |
|---|
| 59 | + DAILINK_COMP_ARRAY(COMP_PLATFORM("s3c24xx-iis"))); |
|---|
| 60 | + |
|---|
| 60 | 61 | static struct snd_soc_dai_link simtec_dai_aic23 = { |
|---|
| 61 | 62 | .name = "tlv320aic23", |
|---|
| 62 | 63 | .stream_name = "TLV320AIC23", |
|---|
| 63 | | - .codec_name = "tlv320aic3x-codec.0-001a", |
|---|
| 64 | | - .cpu_dai_name = "s3c24xx-iis", |
|---|
| 65 | | - .codec_dai_name = "tlv320aic3x-hifi", |
|---|
| 66 | | - .platform_name = "s3c24xx-iis", |
|---|
| 67 | 64 | .init = simtec_tlv320aic23_init, |
|---|
| 65 | + SND_SOC_DAILINK_REG(tlv320aic23), |
|---|
| 68 | 66 | }; |
|---|
| 69 | 67 | |
|---|
| 70 | 68 | /* simtec audio machine driver */ |
|---|