media: mfc: use SYSTEM HEAP region for MFC normal F/W
authorJeonghee Kim <jhhhh.kim@samsung.com>
Mon, 23 Apr 2018 05:51:36 +0000 (14:51 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Tue, 29 May 2018 06:59:18 +0000 (15:59 +0900)
Change-Id: I9fba9b38ee47f238c25d702b51a3a0ee110f228e
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_buf.c

index 2a8bb348d12dbd6b810cc7704d1b61aa4c5f8693..b30f3e132026d023eab1136fa1641f0b0fdd959d 100644 (file)
@@ -600,7 +600,7 @@ int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev)
        mfc_debug(2, "Allocating memory for firmware.\n");
        trace_mfc_loadfw_start(dev->fw.size, firmware_size);
 
-       dev->fw_buf.buftype = MFCBUF_NORMAL_FW;
+       dev->fw_buf.buftype = MFCBUF_NORMAL;
        dev->fw_buf.size = dev->fw.size;
        if (s5p_mfc_mem_ion_alloc(dev, &dev->fw_buf)) {
                mfc_err_dev("Allocating normal firmware buffer failed\n");