Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
032c2028
Commit
032c2028
authored
Nov 01, 2007
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (6518): Fix tvp5150 default values
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
6d35c8f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
drivers/media/video/tvp5150.c
drivers/media/video/tvp5150.c
+8
-8
No files found.
drivers/media/video/tvp5150.c
View file @
032c2028
...
...
@@ -799,10 +799,10 @@ static inline void tvp5150_reset(struct i2c_client *c)
tvp5150_write_inittab
(
c
,
tvp5150_init_enable
);
/* Initialize image preferences */
tvp5150_write
(
c
,
TVP5150_BRIGHT_CTL
,
decoder
->
bright
>>
8
);
tvp5150_write
(
c
,
TVP5150_CONTRAST_CTL
,
decoder
->
contrast
>>
8
);
tvp5150_write
(
c
,
TVP5150_SATURATION_CTL
,
decoder
->
contrast
>>
8
);
tvp5150_write
(
c
,
TVP5150_HUE_CTL
,
(
decoder
->
hue
-
32768
)
>>
8
);
tvp5150_write
(
c
,
TVP5150_BRIGHT_CTL
,
decoder
->
bright
);
tvp5150_write
(
c
,
TVP5150_CONTRAST_CTL
,
decoder
->
contrast
);
tvp5150_write
(
c
,
TVP5150_SATURATION_CTL
,
decoder
->
contrast
);
tvp5150_write
(
c
,
TVP5150_HUE_CTL
,
decoder
->
hue
);
tvp5150_set_std
(
c
,
decoder
->
norm
);
};
...
...
@@ -1077,10 +1077,10 @@ static int tvp5150_detect_client(struct i2c_adapter *adapter,
core
->
norm
=
V4L2_STD_ALL
;
/* Default is autodetect */
core
->
route
.
input
=
TVP5150_COMPOSITE1
;
core
->
enable
=
1
;
core
->
bright
=
3276
8
;
core
->
contrast
=
3276
8
;
core
->
hue
=
32768
;
core
->
sat
=
3276
8
;
core
->
bright
=
12
8
;
core
->
contrast
=
12
8
;
core
->
hue
=
0
;
core
->
sat
=
12
8
;
if
(
rv
)
{
kfree
(
c
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment