aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp/isppreview.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/media/video/omap3isp/isppreview.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/media/video/omap3isp/isppreview.c')
-rw-r--r--drivers/media/video/omap3isp/isppreview.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/video/omap3isp/isppreview.c
index baf9374201dc..2b16988a501d 100644
--- a/drivers/media/video/omap3isp/isppreview.c
+++ b/drivers/media/video/omap3isp/isppreview.c
@@ -34,7 +34,7 @@
34#include "ispreg.h" 34#include "ispreg.h"
35#include "isppreview.h" 35#include "isppreview.h"
36 36
37/* Default values in Office Flourescent Light for RGBtoRGB Blending */ 37/* Default values in Office Fluorescent Light for RGBtoRGB Blending */
38static struct omap3isp_prev_rgbtorgb flr_rgb2rgb = { 38static struct omap3isp_prev_rgbtorgb flr_rgb2rgb = {
39 { /* RGB-RGB Matrix */ 39 { /* RGB-RGB Matrix */
40 {0x01E2, 0x0F30, 0x0FEE}, 40 {0x01E2, 0x0F30, 0x0FEE},
@@ -44,7 +44,7 @@ static struct omap3isp_prev_rgbtorgb flr_rgb2rgb = {
44 {0x0000, 0x0000, 0x0000} 44 {0x0000, 0x0000, 0x0000}
45}; 45};
46 46
47/* Default values in Office Flourescent Light for RGB to YUV Conversion*/ 47/* Default values in Office Fluorescent Light for RGB to YUV Conversion*/
48static struct omap3isp_prev_csc flr_prev_csc = { 48static struct omap3isp_prev_csc flr_prev_csc = {
49 { /* CSC Coef Matrix */ 49 { /* CSC Coef Matrix */
50 {66, 129, 25}, 50 {66, 129, 25},
@@ -54,22 +54,22 @@ static struct omap3isp_prev_csc flr_prev_csc = {
54 {0x0, 0x0, 0x0} 54 {0x0, 0x0, 0x0}
55}; 55};
56 56
57/* Default values in Office Flourescent Light for CFA Gradient*/ 57/* Default values in Office Fluorescent Light for CFA Gradient*/
58#define FLR_CFA_GRADTHRS_HORZ 0x28 58#define FLR_CFA_GRADTHRS_HORZ 0x28
59#define FLR_CFA_GRADTHRS_VERT 0x28 59#define FLR_CFA_GRADTHRS_VERT 0x28
60 60
61/* Default values in Office Flourescent Light for Chroma Suppression*/ 61/* Default values in Office Fluorescent Light for Chroma Suppression*/
62#define FLR_CSUP_GAIN 0x0D 62#define FLR_CSUP_GAIN 0x0D
63#define FLR_CSUP_THRES 0xEB 63#define FLR_CSUP_THRES 0xEB
64 64
65/* Default values in Office Flourescent Light for Noise Filter*/ 65/* Default values in Office Fluorescent Light for Noise Filter*/
66#define FLR_NF_STRGTH 0x03 66#define FLR_NF_STRGTH 0x03
67 67
68/* Default values for White Balance */ 68/* Default values for White Balance */
69#define FLR_WBAL_DGAIN 0x100 69#define FLR_WBAL_DGAIN 0x100
70#define FLR_WBAL_COEF 0x20 70#define FLR_WBAL_COEF 0x20
71 71
72/* Default values in Office Flourescent Light for Black Adjustment*/ 72/* Default values in Office Fluorescent Light for Black Adjustment*/
73#define FLR_BLKADJ_BLUE 0x0 73#define FLR_BLKADJ_BLUE 0x0
74#define FLR_BLKADJ_GREEN 0x0 74#define FLR_BLKADJ_GREEN 0x0
75#define FLR_BLKADJ_RED 0x0 75#define FLR_BLKADJ_RED 0x0
@@ -137,7 +137,7 @@ preview_enable_invalaw(struct isp_prev_device *prev, u8 enable)
137 * @enable: 1 - Enable, 0 - Disable 137 * @enable: 1 - Enable, 0 - Disable
138 * 138 *
139 * NOTE: PRV_WSDR_ADDR and PRV_WADD_OFFSET must be set also 139 * NOTE: PRV_WSDR_ADDR and PRV_WADD_OFFSET must be set also
140 * The proccess is applied for each captured frame. 140 * The process is applied for each captured frame.
141 */ 141 */
142static void 142static void
143preview_enable_drkframe_capture(struct isp_prev_device *prev, u8 enable) 143preview_enable_drkframe_capture(struct isp_prev_device *prev, u8 enable)
@@ -157,7 +157,7 @@ preview_enable_drkframe_capture(struct isp_prev_device *prev, u8 enable)
157 * @enable: 1 - Acquires memory bandwidth since the pixels in each frame is 157 * @enable: 1 - Acquires memory bandwidth since the pixels in each frame is
158 * subtracted with the pixels in the current frame. 158 * subtracted with the pixels in the current frame.
159 * 159 *
160 * The proccess is applied for each captured frame. 160 * The process is applied for each captured frame.
161 */ 161 */
162static void 162static void
163preview_enable_drkframe(struct isp_prev_device *prev, u8 enable) 163preview_enable_drkframe(struct isp_prev_device *prev, u8 enable)
@@ -1528,7 +1528,7 @@ static long preview_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
1528 * preview_set_stream - Enable/Disable streaming on preview subdev 1528 * preview_set_stream - Enable/Disable streaming on preview subdev
1529 * @sd : pointer to v4l2 subdev structure 1529 * @sd : pointer to v4l2 subdev structure
1530 * @enable: 1 == Enable, 0 == Disable 1530 * @enable: 1 == Enable, 0 == Disable
1531 * return -EINVAL or zero on sucess 1531 * return -EINVAL or zero on success
1532 */ 1532 */
1533static int preview_set_stream(struct v4l2_subdev *sd, int enable) 1533static int preview_set_stream(struct v4l2_subdev *sd, int enable)
1534{ 1534{
@@ -1780,7 +1780,7 @@ static int preview_enum_frame_size(struct v4l2_subdev *sd,
1780 * @sd : pointer to v4l2 subdev structure 1780 * @sd : pointer to v4l2 subdev structure
1781 * @fh : V4L2 subdev file handle 1781 * @fh : V4L2 subdev file handle
1782 * @fmt: pointer to v4l2 subdev format structure 1782 * @fmt: pointer to v4l2 subdev format structure
1783 * return -EINVAL or zero on sucess 1783 * return -EINVAL or zero on success
1784 */ 1784 */
1785static int preview_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh, 1785static int preview_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh,
1786 struct v4l2_subdev_format *fmt) 1786 struct v4l2_subdev_format *fmt)