All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <liam.r.girdwood@linux.intel.com>
To: Koro Chen <koro.chen@mediatek.com>
Cc: broonie@kernel.org, tiwai@suse.de, srv_heupstream@mediatek.com,
	linux-mediatek@lists.infradead.org, s.hauer@pengutronix.de,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	PC Liao <pc.liao@mediatek.com>
Subject: Re: [RFC PATCH] ASoC: dpcm: Apply symmetry for DPCM
Date: Fri, 11 Dec 2015 19:09:26 +0000	[thread overview]
Message-ID: <1449860966.2499.17.camel@loki> (raw)
In-Reply-To: <1449804831-58929-1-git-send-email-koro.chen@mediatek.com>

On Fri, 2015-12-11 at 11:33 +0800, Koro Chen wrote:
> From: PC Liao <pc.liao@mediatek.com>
> 
> DPCM does not fully support symmetry attributes. soc_pcm_apply_symmetry()
> is skipped in soc_pcm_open() for DPCM, without being applied elsewhere.
> So HW parameters cannot be correctly limited, and user space can do
> playback/capture at different rates while HW actually does not support it.
> soc_pcm_params_symmetry() will return error and the second stream stops.
> 
> This patch adds soc_pcm_apply_symmetry() for FE, BE, and codec DAIs
> in DPCM path that was skipped in soc_pcm_open().
> 
> Signed-off-by: PC Liao <pc.liao@mediatek.com>
> Signed-off-by: Koro Chen <koro.chen@mediatek.com>

Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>

WARNING: multiple messages have this Message-ID (diff)
From: liam.r.girdwood@linux.intel.com (Liam Girdwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] ASoC: dpcm: Apply symmetry for DPCM
Date: Fri, 11 Dec 2015 19:09:26 +0000	[thread overview]
Message-ID: <1449860966.2499.17.camel@loki> (raw)
In-Reply-To: <1449804831-58929-1-git-send-email-koro.chen@mediatek.com>

On Fri, 2015-12-11 at 11:33 +0800, Koro Chen wrote:
> From: PC Liao <pc.liao@mediatek.com>
> 
> DPCM does not fully support symmetry attributes. soc_pcm_apply_symmetry()
> is skipped in soc_pcm_open() for DPCM, without being applied elsewhere.
> So HW parameters cannot be correctly limited, and user space can do
> playback/capture at different rates while HW actually does not support it.
> soc_pcm_params_symmetry() will return error and the second stream stops.
> 
> This patch adds soc_pcm_apply_symmetry() for FE, BE, and codec DAIs
> in DPCM path that was skipped in soc_pcm_open().
> 
> Signed-off-by: PC Liao <pc.liao@mediatek.com>
> Signed-off-by: Koro Chen <koro.chen@mediatek.com>

Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>

  reply	other threads:[~2015-12-11 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  3:33 [RFC PATCH] ASoC: dpcm: Apply symmetry for DPCM Koro Chen
2015-12-11  3:33 ` Koro Chen
2015-12-11  3:33 ` Koro Chen
2015-12-11 19:09 ` Liam Girdwood [this message]
2015-12-11 19:09   ` Liam Girdwood
2015-12-12 23:07 ` Applied "ASoC: dpcm: Apply symmetry for DPCM" to the asoc tree Mark Brown

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=1449860966.2499.17.camel@loki \
    --to=liam.r.girdwood@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=koro.chen@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=pc.liao@mediatek.com \
    --cc=s.hauer@pengutronix.de \
    --cc=srv_heupstream@mediatek.com \
    --cc=tiwai@suse.de \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.