mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-21 21:10:43 +09:00
rk29fb:memset rk29_ipp_req when create ipp_req
This commit is contained in:
@@ -1458,6 +1458,7 @@ static int fb0_set_par(struct fb_info *info)
|
||||
#ifdef CONFIG_FB_SCALING_OSD
|
||||
struct rk29_ipp_req ipp_req;
|
||||
u32 dstoffset=0;
|
||||
memset(&ipp_req, 0, sizeof(struct rk29_ipp_req));
|
||||
#endif
|
||||
|
||||
fbprintk(">>>>>> %s : %s\n", __FILE__, __FUNCTION__);
|
||||
@@ -1608,6 +1609,7 @@ static int fb0_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
|
||||
struct fb_fix_screeninfo *fix = &info->fix;
|
||||
struct rk29_ipp_req ipp_req;
|
||||
u32 dstoffset = 0;
|
||||
memset(&ipp_req, 0, sizeof(struct rk29_ipp_req));
|
||||
#endif
|
||||
//fbprintk(">>>>>> %s : %s \n", __FILE__, __FUNCTION__);
|
||||
|
||||
@@ -2090,7 +2092,7 @@ static int fb1_set_par(struct fb_info *info)
|
||||
struct rk29_ipp_req ipp_req;
|
||||
static u32 dstoffset = 0;
|
||||
static int fb_index = 0;
|
||||
|
||||
memset(&ipp_req, 0, sizeof(struct rk29_ipp_req));
|
||||
yuv_phy[0] = last_yuv_phy[0];
|
||||
yuv_phy[1] = last_yuv_phy[1];
|
||||
yuv_phy[0] += par->y_offset;
|
||||
@@ -2258,7 +2260,7 @@ static int fb1_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
|
||||
struct rk29fb_screen *screen = inf->cur_screen;
|
||||
struct rk29_ipp_req ipp_req;
|
||||
static u32 dstoffset = 0;
|
||||
|
||||
memset(&ipp_req, 0, sizeof(struct rk29_ipp_req));
|
||||
#endif
|
||||
|
||||
fbprintk(">>>>>> %s : %s \n", __FILE__, __FUNCTION__);
|
||||
|
||||
Reference in New Issue
Block a user