Add 2 channels playback stream

This commit is contained in:
peter.yang 2017-11-22 09:05:22 +00:00
parent 5607fed986
commit 07b67878dc
3 changed files with 9 additions and 2 deletions

View file

@ -1153,6 +1153,13 @@ static const struct snd_soc_dai_ops ac108_dai_ops = {
static struct snd_soc_dai_driver ac108_dai0 = {
.name = "ac108-codec0",
.playback = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = AC108_CHANNELS_MAX,
.rates = AC108_RATES,
.formats = AC108_FORMATS,
},
.capture = {
.stream_name = "Capture",
.channels_min = 1,

View file

@ -51,7 +51,7 @@
simple-audio-card,bitclock-master = <&codec_dai>;
simple-audio-card,frame-master = <&codec_dai>;
simple-audio-card,channels-playback-override = <4>;
simple-audio-card,channels-playback-override = <2>;
simple-audio-card,channels-capture-override = <4>;
cpu_dai: simple-audio-card,cpu {

View file

@ -58,7 +58,7 @@
simple-audio-card,bitclock-master = <&codec_dai>;
simple-audio-card,frame-master = <&codec_dai>;
simple-audio-card,channels-playback-override = <8>;
simple-audio-card,channels-playback-override = <2>;
simple-audio-card,channels-capture-override = <8>;
cpu_dai: simple-audio-card,cpu {