aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index 3d7b97c661b9..b2a0723af657 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -2434,8 +2434,8 @@ static int bttv_do_ioctl(struct inode *inode, struct file *file,
2434 else { 2434 else {
2435 if (fbuf->width) 2435 if (fbuf->width)
2436 fbuf->depth = ((fbuf->bytesperline<<3) 2436 fbuf->depth = ((fbuf->bytesperline<<3)
2437 + (fbuf->width-1) ) 2437 + (fbuf->width-1) )
2438 /fbuf->width; 2438 /fbuf->width;
2439 else 2439 else
2440 fbuf->depth = 0; 2440 fbuf->depth = 0;
2441 } 2441 }