Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Set FIMD to write back */
- if ((ctrl->cam->id == CAMERA_WB) || (ctrl->cam->id == CAMERA_WB_B)) {
- if (ctrl->cam->id == CAMERA_WB)
- fimc_hwset_sysreg_camblk_fimd0_wb(ctrl);
- else
- fimc_hwset_sysreg_camblk_fimd1_wb(ctrl);
- s3cfb_direct_ioctl(0, S3CFB_SET_WRITEBACK, 1);
- }
- /* HACK */
- ctrl->cam->window->width = ctrl->cap->fmt.height;
- ctrl->cam->window->height = ctrl->cap->fmt.width;
- printk(KERN_INFO "<HACK> %s: camera window width=%d, height=%d\n", __func__, ctrl->cam->window->width, ctrl->cam->window->height);
- /* HACK */
- fimc_hwset_camera_type(ctrl);
- fimc_hwset_camera_polarity(ctrl);
- fimc_hwset_enable_lastend(ctrl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement