amlogic: media_modules: fix too big stack usage for gcc 9 build
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 12 Mar 2020 10:01:18 +0000 (19:01 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 2 Dec 2020 01:56:37 +0000 (10:56 +0900)
commita5109edd745def0ffe347df9d0a7260ebc39c8f3
tree4d8c2212ed8199b08a8cdbb55b71e851610b4fdd
parent9f5db00a0b971c5ad059c1dae30f2f91c11c9fe5
amlogic: media_modules: fix too big stack usage for gcc 9 build

Too big stack usage causes build issue for gcc 9. Fix too big stack
usage by replacing kzalloc() instead of array in stack.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/media_modules/frame_provider/decoder/utils/frame_check.c