summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDharageswari R <dharageswari.r@intel.com>2016-10-06 08:51:21 +0530
committerMark Brown <broonie@kernel.org>2016-10-06 13:05:11 +0200
commit9a58725ba533b46db31d10a6dcc5ab7f9fa370ed (patch)
tree89c0ee6045675c6b6039ef86f2ce57755d1b1ebd /drivers/input
parent513e43efafe329dad7b5794583b67ac898dcbdca (diff)
downloadlinux-9a58725ba533b46db31d10a6dcc5ab7f9fa370ed.tar.bz2
ASoC: Intel: Skylake: Use DPIB to update position for Playback stream
DPIB is read currently from a buffer position in memory (indicated by the registers DPIB[U|L]BASE).Driver reads the position buffer on BDL completion interrupts to report the DMA position. But the BDL completion interrupt only indicates the last DMA transfer of the buffer is completed at the Intel HD Audio subsystem boundary. The periodic DMA Position-in-Buffer writes may be scheduled at the same time or later than the MSI and does not guarantee to reflect the position of the last buffer that was transferred. Whereas DPIB register in HDA space(vendor specific register indicated by SDxDPIB) reflects the actual data that is transferred. Hence update the position based on DPIB for playback. Signed-off-by: Dharageswari R <dharageswari.r@intel.com> Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions