diff options
author | Ravindra Lokhande <rlokhande@nvidia.com> | 2016-06-01 02:49:09 -0400 |
---|---|---|
committer | Sameer Pujar <spujar@nvidia.com> | 2017-08-07 05:26:22 -0400 |
commit | e30f930b06b19f045bd7cddc12122072556bd584 (patch) | |
tree | d973a9cfa63639087c3afa4f9c5874f93acfd1a0 /sound/pci/hda | |
parent | b10332bc49220a39579ed2a8bb241144fb368a7e (diff) |
ALSA: hda/tegra: set buffer alignment
Set chip->align_buffer_size = 1, with this now buffer will be align
to 128.
Bug 200164286
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Change-Id: I3438903ce0f8c803f29660d76c66eab88712974c
Reviewed-on: http://git-master/r/1157094
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shaunak Gupte <shaunakg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index d2544045f..203edce64 100644 --- a/sound/pci/hda/hda_tegra.c +++ b/sound/pci/hda/hda_tegra.c | |||
@@ -513,6 +513,8 @@ static int hda_tegra_first_init(struct azx *chip, struct platform_device *pdev) | |||
513 | gcap = azx_readw(chip, GCAP); | 513 | gcap = azx_readw(chip, GCAP); |
514 | dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); | 514 | dev_dbg(card->dev, "chipset global capabilities = 0x%x\n", gcap); |
515 | 515 | ||
516 | chip->align_buffer_size = 1; | ||
517 | |||
516 | /* read number of streams from GCAP register instead of using | 518 | /* read number of streams from GCAP register instead of using |
517 | * hardcoded value | 519 | * hardcoded value |
518 | */ | 520 | */ |