Change-Id: I47b4cf055be04b4149260daef4972a2ce9e942c4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
/* rsc mutex init */
mutex_init(&resourcemgr->rsc_lock);
+ mutex_init(&resourcemgr->sysreg_lock);
/* temperature monitor unit */
resourcemgr->tmu_notifier.notifier_call = fimc_is_tmu_notifier;
/* for critical section at get/put */
struct mutex rsc_lock;
+ /* for sysreg setting */
+ struct mutex sysreg_lock;
};
int fimc_is_resourcemgr_probe(struct fimc_is_resourcemgr *resourcemgr, void *private_data, struct platform_device *pdev);