diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 8cb653b107cc..699487c287b2 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -1716,11 +1716,11 @@ sh_mobile_lcdc_overlay_fb_init(struct sh_mobile_lcdc_overlay *ovl) | |||
1716 | info->fix.visual = FB_VISUAL_TRUECOLOR; | 1716 | info->fix.visual = FB_VISUAL_TRUECOLOR; |
1717 | 1717 | ||
1718 | switch (ovl->format->fourcc) { | 1718 | switch (ovl->format->fourcc) { |
1719 | case V4L2_PIX_FMT_NV16: | ||
1720 | case V4L2_PIX_FMT_NV61: | ||
1721 | info->fix.ypanstep = 2; | ||
1722 | case V4L2_PIX_FMT_NV12: | 1719 | case V4L2_PIX_FMT_NV12: |
1723 | case V4L2_PIX_FMT_NV21: | 1720 | case V4L2_PIX_FMT_NV21: |
1721 | info->fix.ypanstep = 2; | ||
1722 | case V4L2_PIX_FMT_NV16: | ||
1723 | case V4L2_PIX_FMT_NV61: | ||
1724 | info->fix.xpanstep = 2; | 1724 | info->fix.xpanstep = 2; |
1725 | } | 1725 | } |
1726 | 1726 | ||
@@ -2215,11 +2215,11 @@ sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch, | |||
2215 | info->fix.visual = FB_VISUAL_TRUECOLOR; | 2215 | info->fix.visual = FB_VISUAL_TRUECOLOR; |
2216 | 2216 | ||
2217 | switch (ch->format->fourcc) { | 2217 | switch (ch->format->fourcc) { |
2218 | case V4L2_PIX_FMT_NV16: | ||
2219 | case V4L2_PIX_FMT_NV61: | ||
2220 | info->fix.ypanstep = 2; | ||
2221 | case V4L2_PIX_FMT_NV12: | 2218 | case V4L2_PIX_FMT_NV12: |
2222 | case V4L2_PIX_FMT_NV21: | 2219 | case V4L2_PIX_FMT_NV21: |
2220 | info->fix.ypanstep = 2; | ||
2221 | case V4L2_PIX_FMT_NV16: | ||
2222 | case V4L2_PIX_FMT_NV61: | ||
2223 | info->fix.xpanstep = 2; | 2223 | info->fix.xpanstep = 2; |
2224 | } | 2224 | } |
2225 | 2225 | ||