media: codec_mm: fixed scatter cache bug

PD#150197: codec_mm: fixed tvp first wait long time bug

Change-Id: Ide5532c0e331948a70bdc809fe232b06b4a7076d
Signed-off-by: Zhi Zhou <zhi.zhou@amlogic.com>
This commit is contained in:
Zhi Zhou
2017-08-31 11:03:59 +08:00
parent f8225ed348
commit dd50855cc4

View File

@@ -2076,7 +2076,7 @@ int codec_mm_scatter_mgt_delay_free_swith(
}
}
codec_mm_list_unlock(smgt);
if (on && wait_size_M > 0) {
if (on && wait_size_M > 0 && !is_tvp) {
u64 start_time = get_jiffies_64();
int try_max = 1000;