diff options
author | Nitin Pai <npai@nvidia.com> | 2012-11-21 16:17:15 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-11-27 17:31:27 -0800 |
commit | c00e71197ed133f7153f2a1a35246daa7bbbd38c (patch) | |
tree | d5ffe6eda6bace4a5106b72a1e0fcd6f9cdba523 /sound | |
parent | c267ae073c56f6a2097d499bb1829ccf7b62ba3b (diff) |
asoc: tegra: tdm: change buffer sizes.
Change the min-buffer-size according to min-channels.
Bug 1040171
Change-Id: Ief575c0a180c05521338d0d38fecb8907127b9fe
Reviewed-on: http://git-master/r/165340
(cherry picked from commit 93c738795b834290e71775206a8e94e58e4f223d)
Signed-off-by: Nitin Pai <npai@nvidia.com>
Change-Id: I8d49035c433cbbf0ed7e7a7df61b86fe1657dad3
Reviewed-on: http://git-master/r/166137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_tdm_pcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_tdm_pcm.c b/sound/soc/tegra/tegra_tdm_pcm.c index ae33bdbc588c..8345ba04f943 100644 --- a/sound/soc/tegra/tegra_tdm_pcm.c +++ b/sound/soc/tegra/tegra_tdm_pcm.c @@ -2,11 +2,11 @@ * tegra_tdm_pcm.c - Tegra TDM PCM driver * * Author: Nitin Pai <npai@nvidia.com> - * Copyright (C) 2010 - NVIDIA, Inc. + * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. * * Based on code copyright/by: * - * Copyright (c) 2009-2010, NVIDIA Corporation. + * Copyright (c) 2009-2010, NVIDIA CORPORATION. All rights reserved. * Scott Peterson <speterson@nvidia.com> * Stephen Warren <swarren@nvidia.com> * Vijay Mali <vmali@nvidia.com> @@ -51,7 +51,7 @@ static const struct snd_pcm_hardware tegra_tdm_pcm_hardware = { .formats = SNDRV_PCM_FMTBIT_S16_LE, .channels_min = 8, .channels_max = 16, - .period_bytes_min = 16 * 1024, + .period_bytes_min = 8 * 1024, .period_bytes_max = 16 * 1024, .periods_min = 4, .periods_max = 4, |