xref: /linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c
4  *
5  * Copyright (C) 2012 Samsung Electronics Co., Ltd.
6  *		http://www.samsung.com/
7  */
8 
9 #include "s5p_mfc_cmd.h"
10 #include "s5p_mfc_common.h"
11 #include "s5p_mfc_debug.h"
12 #include "s5p_mfc_cmd_v5.h"
13 #include "s5p_mfc_cmd_v6.h"
14 
15 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev)
16 {
17 	if (IS_MFCV6_PLUS(dev))
18 		dev->mfc_cmds = s5p_mfc_init_hw_cmds_v6();
19 	else
20 		dev->mfc_cmds = s5p_mfc_init_hw_cmds_v5();
21 }
22