From patchwork Thu Apr 15 22:51:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sensoray-dev X-Patchwork-Id: 93034 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3FNIdrv013741 for ; Thu, 15 Apr 2010 23:18:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753278Ab0DOXSi (ORCPT ); Thu, 15 Apr 2010 19:18:38 -0400 Received: from gateway08.websitewelcome.com ([67.18.34.19]:42739 "HELO gateway08.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751403Ab0DOXSh (ORCPT ); Thu, 15 Apr 2010 19:18:37 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 15 Apr 2010 23:18:39 +0000 (UTC) X-Greylist: delayed 1200 seconds by postgrey-1.27 at vger.kernel.org; Thu, 15 Apr 2010 19:18:37 EDT Received: (qmail 8094 invoked from network); 15 Apr 2010 22:54:08 -0000 Received: from gator886.hostgator.com (174.120.40.226) by gateway08.websitewelcome.com with SMTP; 15 Apr 2010 22:54:08 -0000 Received: from [66.15.212.169] (port=21320 helo=user-desktop.local) by gator886.hostgator.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1O2Xug-0000Uz-QR; Thu, 15 Apr 2010 17:51:59 -0500 Date: Thu, 15 Apr 2010 15:51:52 -0700 (PDT) From: sensoray-dev Subject: s2255drv: V4L2_MODE_HIGHQUALITY fix To: linux-media@vger.kernel.org Message-ID: MIME-Version: 1.0 Content-Disposition: INLINE X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator886.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sensoray.com Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r f12b3074bb02 -r fae20d178e2c linux/drivers/media/video/s2255drv.c --- a/linux/drivers/media/video/s2255drv.c Thu Apr 15 15:40:56 2010 -0700 +++ b/linux/drivers/media/video/s2255drv.c Thu Apr 15 15:48:05 2010 -0700 @@ -1660,7 +1660,7 @@ } mode.fdec = fdec; sp->parm.capture.timeperframe.denominator = def_dem; - stream->cap_parm = sp->parm.capture; + channel->cap_parm = sp->parm.capture; s2255_set_mode(channel, &mode); dprintk(4, "%s capture mode, %d timeperframe %d/%d, fdec %d\n", __func__,