diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-02-16 15:49:52 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-02-18 15:13:51 -0800 |
commit | 140b49082fd7d937d8a74b4dccc091c941dacb07 (patch) | |
tree | 59079370904ebec31fec0abe1be1a02fe3af711c /sound/soc/tegra/tegra_soc.h | |
parent | 64e2c68e201b0476a77c46585243e1455e8c24b5 (diff) |
alsa: Set restrictions on period sizetegra-11.2.0
Restrict period size to be multiple of 8 and period count to be
integer. This is required to prevent audio breaks for playback
through BT SCO.
Bug 771510
Change-Id: If15631512bc5ce5a4358342b523da0a5a020cc2d
Reviewed-on: http://git-master/r/19731
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_soc.h')
-rw-r--r-- | sound/soc/tegra/tegra_soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_soc.h b/sound/soc/tegra/tegra_soc.h index 7a77723c9ea9..4910b8669dd9 100644 --- a/sound/soc/tegra/tegra_soc.h +++ b/sound/soc/tegra/tegra_soc.h @@ -75,6 +75,8 @@ SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) #define TEGRA_VOICE_SAMPLE_RATES SNDRV_PCM_RATE_8000 +#define DMA_STEP_SIZE_MIN 8 + struct tegra_dma_channel; struct tegra_runtime_data { |