]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix dma buffer size calculation
authorRamesh Babu <ramesh.babu@intel.com>
Mon, 19 Jun 2017 06:29:20 +0000 (11:59 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jun 2017 15:33:13 +0000 (16:33 +0100)
commitc271be599fe41e632a8c6b8e9a55c9169e6d728a
treeed97eac74ba6728a82bda5d4109e592017c25d70
parent82b56337ce6647b51c69744d11de0a955b3737b5
ASoC: Intel: Skylake: Fix dma buffer size calculation

DMA buffer size for gateway copier will be calculated based on:

For host DMA copier:
Input buffer size (ibs) for output direction (playback)
Output buffer size (obs) for input direction (capture)

For link DMA copier:
IBS for input direction (capture)
OBS for output direction (playback)

Update the driver to use the above.

Signed-off-by: Ramesh Babu <ramesh.babu@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c