video-driver: Move register manipulation functions
Move register manipulation functions in a common variant file (msm_vidc_variant). Change-Id: Ic92a264b47b4d90efcfb4389e30d2749a23f792b Signed-off-by: Stanimir Varbanov <quic_c_svarba@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

父節點
cf7b4f85c9
當前提交
21974f4a60
@@ -15,6 +15,7 @@
|
||||
#include "msm_vidc_buffer.h"
|
||||
#include "msm_vidc_debug.h"
|
||||
#include "msm_vidc_control.h"
|
||||
#include "msm_vidc_variant.h"
|
||||
|
||||
#define VIDEO_ARCH_LX 1
|
||||
|
||||
@@ -549,7 +550,7 @@ static int __power_on_iris2(struct msm_vidc_core *core)
|
||||
* Re-program all of the registers that get reset as a result of
|
||||
* regulator_disable() and _enable()
|
||||
*/
|
||||
res_ops->set_regs(core);
|
||||
__set_registers(core);
|
||||
|
||||
__interrupt_init_iris2(core);
|
||||
core->intr_status = 0;
|
||||
|
Reference in New Issue
Block a user