Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322471
b: refs/heads/master
c: 2568236
h: refs/heads/master
i:
  322469: 7c4b546
  322467: 6bc5cbd
  322463: f202676
v: v3
  • Loading branch information
Dan Carpenter authored and Florian Tobias Schandinat committed Aug 23, 2012
1 parent 26da03d commit f75d32b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01817d194a5c078696ac4a31b5d8b99a6a9e40c7
refs/heads/master: 25682362564fa0c950d9afe798def2ec9c3676a2
2 changes: 2 additions & 0 deletions trunk/drivers/video/mb862xx/mb862xxfbdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ static int mb862xxfb_ioctl(struct fb_info *fbi, unsigned int cmd,
case MB862XX_L1_SET_CFG:
if (copy_from_user(l1_cfg, argp, sizeof(*l1_cfg)))
return -EFAULT;
if (l1_cfg->dh == 0 || l1_cfg->dw == 0)
return -EINVAL;
if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) {
/* downscaling */
outreg(cap, GC_CAP_CSC,
Expand Down

0 comments on commit f75d32b

Please sign in to comment.