From dd50855cc41caaa378276d2d489a14e16b87b480 Mon Sep 17 00:00:00 2001 From: Zhi Zhou Date: Thu, 31 Aug 2017 11:03:59 +0800 Subject: [PATCH] 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 --- drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c b/drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c index 1505625..cd87463 100644 --- a/drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c +++ b/drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c @@ -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; -- 2.7.4