From patchwork Thu Jul 23 13:56:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tuukka.O Toivonen" X-Patchwork-Id: 36971 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6NDuq0O025870 for ; Thu, 23 Jul 2009 13:56:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751770AbZGWN4w (ORCPT ); Thu, 23 Jul 2009 09:56:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751736AbZGWN4w (ORCPT ); Thu, 23 Jul 2009 09:56:52 -0400 Received: from smtp.nokia.com ([192.100.122.233]:56428 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751463AbZGWN4v (ORCPT ); Thu, 23 Jul 2009 09:56:51 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n6NDuYC9026174 for ; Thu, 23 Jul 2009 16:56:40 +0300 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Jul 2009 16:56:33 +0300 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Jul 2009 16:56:33 +0300 Received: from localhost.localdomain (ouped11921.nmp.nokia.com [172.23.119.21]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n6NDuRnh017142; Thu, 23 Jul 2009 16:56:30 +0300 From: tuukka.o.toivonen@nokia.com To: linux-media@vger.kernel.org Cc: sakari.ailus@maxwell.research.nokia.com, tuukka.o.toivonen@nokia.com Subject: [PATCH] isp: do not force buffer size to be multiple of PAGE_SIZE Date: Thu, 23 Jul 2009 16:56:26 +0300 Message-Id: <1248357387-14720-3-git-send-email-tuukka.o.toivonen@nokia.com> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1248357387-14720-2-git-send-email-tuukka.o.toivonen@nokia.com> References: <1248357387-14720-1-git-send-email-tuukka.o.toivonen@nokia.com> <1248357387-14720-2-git-send-email-tuukka.o.toivonen@nokia.com> X-OriginalArrivalTime: 23 Jul 2009 13:56:33.0170 (UTC) FILETIME=[62F86F20:01CA0B9D] X-Nokia-AV: Clean Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Tuukka Toivonen Signed-off-by: Tuukka Toivonen --- drivers/media/video/isp/isp.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 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++) {