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: 2503371 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 86A04DF5B1 for ; Tue, 30 Apr 2013 06:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753176Ab3D3G3P (ORCPT ); Tue, 30 Apr 2013 02:29:15 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33061 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043Ab3D3G3O (ORCPT ); Tue, 30 Apr 2013 02:29:14 -0400 Received: by mail-pd0-f169.google.com with SMTP id 10so129458pdc.14 for ; Mon, 29 Apr 2013 23:29:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=7GJfN4wWwKpz24XiVbuXglxPglgbzZOqIeWDBEcURRQ=; b=YwlTzKEcpLjr7cbx72YvHdramBkgo9YYxU5f3TUhap04O2NyLc1sWxnBcJtesD+zeM M9i80w2lU1kcgb39ITZQsWNfbY/76Rwxj7ncTdoqfsQNC5M6wmLYppElvud1KxDU8JDu nNKRXRci2nnw/86m8VQaE9vcBZk5xjW2wA6FVSX2aQIqfWTV7GH/7bQ367NW0Xc2Nxla PEjicG6xT4GtWIBvZRU5uBoV9hl5iiuhRz0IUeC+KCi3S+mwIfUqvj3sD6Vu5dr72JJ+ CTj0GnZ1KbghqCcUjOqni8MORmwkVclOiJ2+6/xlu8g6/RClNV0FX7apax8en2SY3rKe K2gA== 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: ALoCoQkPBNcnXBBl0I3V3HX+hmAidbHD1+ZepCQy+REB7FPydWORpJEwvMUoHzbzkf9pX3QHyP1Y Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org '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;