diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-25 11:46:35 +0800 |
---|---|---|
committer | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-03-27 19:20:00 +0800 |
commit | 5d0d4e1558fa0c235691436e1c5d26d9c8950775 (patch) | |
tree | 90c4a0f7d56109e53ff4dcff68ee5ad394b31093 /kernel/watchdog.c | |
parent | aca6d0c4c96d658021bda4b5a4e454076e27e9f2 (diff) |
ENGR00305624-2 ASoC: imx-hdmi-dma: Correct the appl pointer
We might not be able to get appl_ptr, so we estimated it by using hw_ptr,
while the distance between then should not be 2 * priv->period_bytes
initially but 8 * priv->period_bytes as we pri-filled one entire buffer
size at the beginning. The driver's memory access might be overlapped
with ALSA's buffer updating. So this patch fixes this inaccurate distance.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions