From patchwork Tue Apr 30 06:16:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16513 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0FC6725E08 for ; Tue, 30 Apr 2013 06:29:18 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id j8sf373005qah.4 for ; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=7GJfN4wWwKpz24XiVbuXglxPglgbzZOqIeWDBEcURRQ=; b=RkgNbRauOgT3fGXD3VDqBKnrKIn837Mk+JBPXljzNFAN0LNKTYURvEaxbKqV2nj3hb EqnZdtbuOQxxgmNH06f0K3yWq9r2x7dYfi1spZ5t6HQiSMnYqBWxu7WQRGu4+EG2ihBF 2R+W44dy3X8cahFY+9R9aMTNEUtlziEA/5QNgdw72HK2PigPXn6M2W6O3mhyoEnS+72o fuM1w7I0k5vofVLTaejbG7u8l/PrNxKGbbs5LT5Vlm6oysKweMlfDx+k+R5du2Pp1UDM KJ0MB7puyJ4J71Ob28QQxattZqVViGCw4aIboorxFlvDjWt/fovKqSc6LFafSIPRlRCS hgag== X-Received: by 10.236.145.131 with SMTP id p3mr30078253yhj.6.1367303355850; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.82.83 with SMTP id g19ls94322qey.51.gmail; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) X-Received: by 10.58.161.6 with SMTP id xo6mr3228496veb.50.1367303355679; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [2607:f8b0:400c:c01::231]) by mx.google.com with ESMTPS id sc6si11477053vdc.86.2013.04.29.23.29.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:15 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::231; Received: by mail-ve0-f177.google.com with SMTP id cy12so116793veb.8 for ; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) X-Received: by 10.52.228.71 with SMTP id sg7mr28434624vdc.51.1367303355448; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp90195veb; Mon, 29 Apr 2013 23:29:15 -0700 (PDT) X-Received: by 10.68.36.197 with SMTP id s5mr74811204pbj.23.1367303354646; Mon, 29 Apr 2013 23:29:14 -0700 (PDT) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by mx.google.com with ESMTPS id n6si19767856pan.217.2013.04.29.23.29.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.45 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.45; Received: by mail-pa0-f45.google.com with SMTP id lf10so174746pab.32 for ; Mon, 29 Apr 2013 23:29:14 -0700 (PDT) X-Received: by 10.68.218.34 with SMTP id pd2mr73985927pbc.204.1367303354263; Mon, 29 Apr 2013 23:29:14 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id lq5sm1934904pab.19.2013.04.29.23.29.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Apr 2013 23:29:13 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/4] [media] s3c-camif: Fix incorrect variable type Date: Tue, 30 Apr 2013 11:46:19 +0530 Message-Id: <1367302581-15478-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367302581-15478-1-git-send-email-sachin.kamat@linaro.org> References: <1367302581-15478-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlkiDGbs8fW/XlrSfri1k/5CoRPrixEB4yUBTJpRJR39kIpRjunT7KlSJAyzCxPuoQZbJGA X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 'rotation' was an 8 bit variable and hence could not have values greater than 255. Since we need higher values, chnage it to 16 bit type. Signed-off-by: Sachin Kamat --- drivers/media/platform/s3c-camif/camif-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s3c-camif/camif-core.h b/drivers/media/platform/s3c-camif/camif-core.h index 261134b..35d2fcd 100644 --- a/drivers/media/platform/s3c-camif/camif-core.h +++ b/drivers/media/platform/s3c-camif/camif-core.h @@ -229,7 +229,7 @@ struct camif_vp { unsigned int state; u16 fmt_flags; u8 id; - u8 rotation; + u16 rotation; u8 hflip; u8 vflip; unsigned int offset;