]> 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)
commit81ad9100a2597fe1ac8e22c6390708cb29adea34
treeed97eac74ba6728a82bda5d4109e592017c25d70
parent49d81b35289684164d219148b5a575258fb38b11
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