diff mbox

isp: do not force buffer size to be multiple of PAGE_SIZE

Message ID 1248357387-14720-3-git-send-email-tuukka.o.toivonen@nokia.com (mailing list archive)
State RFC
Headers show

Commit Message

Tuukka.O Toivonen July 23, 2009, 1:56 p.m. UTC
From: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>


Signed-off-by: Tuukka Toivonen <tuukka.o.toivonen@nokia.com>
---
 drivers/media/video/isp/isp.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c
index ab40110..809b846 100644
--- a/drivers/media/video/isp/isp.c
+++ b/drivers/media/video/isp/isp.c
@@ -1309,8 +1309,7 @@  static int isp_try_pipeline(struct device *dev,
 	}
 
 	pix_output->field = V4L2_FIELD_NONE;
-	pix_output->sizeimage =
-		PAGE_ALIGN(pix_output->bytesperline * pix_output->height);
+	pix_output->sizeimage = pix_output->bytesperline * pix_output->height;
 	pix_output->priv = 0;
 
 	for (ifmt = 0; ifmt < NUM_ISP_CAPTURE_FORMATS; ifmt++) {