From: Mark Brown <broonie@kernel.org> To: Jon Hunter <jonathanh@nvidia.com> Cc: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>, lgirdwood@gmail.com, thierry.reding@gmail.com, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel@lists.codethink.co.uk Subject: Re: [PATCH 4/4] ASoC: tegra: i2s: Add support for more than 2 channels Date: Mon, 30 Jul 2018 11:21:45 +0100 Message-ID: <20180730102145.GG5789@sirena.org.uk> (raw) In-Reply-To: <d81d5c3c-2b2f-308f-d98e-d39c5d5d147f@nvidia.com> [-- Attachment #1: Type: text/plain, Size: 785 bytes --] On Mon, Jul 30, 2018 at 10:46:14AM +0100, Jon Hunter wrote: > On 27/07/18 13:59, Jorge Sanjuan wrote: > > - if (params_channels(params) != 2) > > + if (params_channels(params) > 8) > > return -EINVAL; > For normal I2S mode, channels should always be 2 and so it could be worth checking > if we are using TDM mode here or not. Yes, there's some question if a multi-channel I2S setup is going to be all the left channels then all the right channels, have multiple data lines in parallel (this especially common for high end applications) or something else. Usually it's safer to use a DSP mode for those. Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply index Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-27 12:59 [PATCH 0/4] ASoC: Tegra30 TDM support Jorge Sanjuan 2018-07-27 12:59 ` [PATCH 1/4] ASoC: tegra: i2s: Fix typo/broken macro Jorge Sanjuan 2018-07-30 8:58 ` Jon Hunter 2018-07-30 11:04 ` Applied "ASoC: tegra: i2s: Fix typo/broken macro" to the asoc tree Mark Brown 2018-07-27 12:59 ` [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback Jorge Sanjuan 2018-07-30 8:49 ` Mark Brown 2018-07-30 9:04 ` Ben Dooks 2018-07-30 9:31 ` Jon Hunter 2018-07-30 10:18 ` Mark Brown 2018-07-30 14:04 ` Jon Hunter 2018-07-30 14:15 ` Jon Hunter 2018-07-30 15:07 ` Mark Brown 2018-07-30 17:39 ` [Linux-kernel] " Ben Dooks 2018-07-27 12:59 ` [PATCH 3/4] ASoC: tegra: Allow 32-bit and 24-bit samples Jorge Sanjuan 2018-07-28 22:28 ` kbuild test robot 2018-07-29 9:21 ` Ben Dooks 2018-07-27 12:59 ` [PATCH 4/4] ASoC: tegra: i2s: Add support for more than 2 channels Jorge Sanjuan 2018-07-30 9:46 ` Jon Hunter 2018-07-30 10:21 ` Mark Brown [this message] 2018-07-30 17:22 ` [PATCH 0/4] ASoC: Tegra30 TDM support Ben Dooks
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180730102145.GG5789@sirena.org.uk \ --to=broonie@kernel.org \ --cc=alsa-devel@alsa-project.org \ --cc=jonathanh@nvidia.com \ --cc=jorge.sanjuan@codethink.co.uk \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@lists.codethink.co.uk \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-tegra@vger.kernel.org \ --cc=thierry.reding@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Alsa-Devel Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/alsa-devel/0 alsa-devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 alsa-devel alsa-devel/ https://lore.kernel.org/alsa-devel \ alsa-devel@alsa-project.org public-inbox-index alsa-devel Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.alsa-project.alsa-devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git