Audioinjector octo : Make the playback and capture symmetric
authorMatt Flax <flatmax@flatmax.org>
Tue, 4 Apr 2017 09:23:04 +0000 (19:23 +1000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:53:24 +0000 (15:53 +0100)
This patch ensures that the sample rate and channel count of the audioinjector
octo sound card are symmetric.

sound/soc/bcm/audioinjector-octo-soundcard.c

index 49115c8e20ce1a2ba5a99feb8983a1cafb052ca2..5e79f4eff93a21ed3495c77a90f73525695cb3d5 100644 (file)
@@ -204,6 +204,8 @@ static struct snd_soc_dai_link audioinjector_octo_dai[] = {
                .codec_dai_name = "cs42448",
                .ops = &audioinjector_octo_ops,
                .init = audioinjector_octo_dai_init,
+               .symmetric_rates = 1,
+               .symmetric_channels = 1,
        },
 };