mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
ASoC: Updates for mchp-spdif(tx/rx)
Merge series from Andrei Simion <andrei.simion@microchip.com>: This patch set includes two updates for the MCHP SPDIF RX and TX drivers. The patches remove the interface name from the stream_name, allowing the interface name and index to be set in the Device Tree (DT) using the sound-name-prefix string property.
This commit is contained in:
commit
6e393cce8c
@ -1014,7 +1014,7 @@ static const struct snd_soc_dai_ops mchp_spdifrx_dai_ops = {
|
||||
static struct snd_soc_dai_driver mchp_spdifrx_dai = {
|
||||
.name = "mchp-spdifrx",
|
||||
.capture = {
|
||||
.stream_name = "S/PDIF Capture",
|
||||
.stream_name = "Capture",
|
||||
.channels_min = SPDIFRX_CHANNELS,
|
||||
.channels_max = SPDIFRX_CHANNELS,
|
||||
.rates = MCHP_SPDIF_RATES,
|
||||
|
@ -707,7 +707,7 @@ static const struct snd_soc_dai_ops mchp_spdiftx_dai_ops = {
|
||||
static struct snd_soc_dai_driver mchp_spdiftx_dai = {
|
||||
.name = "mchp-spdiftx",
|
||||
.playback = {
|
||||
.stream_name = "S/PDIF Playback",
|
||||
.stream_name = "Playback",
|
||||
.channels_min = 1,
|
||||
.channels_max = 2,
|
||||
.rates = MCHP_SPDIFTX_RATES,
|
||||
|
Loading…
Reference in New Issue
Block a user