diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2012-01-31 18:12:19 -0600 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-12-05 22:57:42 +0100 |
commit | cb040a8833cf93b92ca95de432d604ad12150fea (patch) | |
tree | 278803a043c71eeea3328c85d64cbab6c9d68d32 /sound/soc | |
parent | f28a2c944fd5a5999322a126e35e750d1eb0efa1 (diff) | |
download | kernel_samsung_tuna-cb040a8833cf93b92ca95de432d604ad12150fea.zip kernel_samsung_tuna-cb040a8833cf93b92ca95de432d604ad12150fea.tar.gz kernel_samsung_tuna-cb040a8833cf93b92ca95de432d604ad12150fea.tar.bz2 |
ASoC: OMAP PCM: Remove combined ABE/HDMI constraint
Remove buffer bytes constraint used for ABE and HDMI in favor of
individual, separate constraints applied by each driver.
Change-Id: Ic1b0aefff6504159f36eb701b91e5e3e7c78d688
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/omap/omap-pcm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index a2a464f..8414884 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c @@ -293,15 +293,6 @@ static int omap_pcm_open(struct snd_pcm_substream *substream) SNDRV_PCM_HW_PARAM_PERIODS); if (ret < 0) goto out; - if (cpu_is_omap44xx()) { - /* ABE needs a step of 24 * 4 data bits, and HDMI 32 * 4 - * Ensure buffer size satisfies both constraints. - */ - ret = snd_pcm_hw_constraint_step(runtime, 0, - SNDRV_PCM_HW_PARAM_BUFFER_BYTES, 384); - if (ret < 0) - goto out; - } prtd = kzalloc(sizeof(*prtd), GFP_KERNEL); if (prtd == NULL) { |