Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
d4892279
Commit
d4892279
authored
Nov 20, 2005
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing initialization in ir-kbd-gpio.c
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
d271d1c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/media/video/ir-kbd-gpio.c
drivers/media/video/ir-kbd-gpio.c
+3
-2
No files found.
drivers/media/video/ir-kbd-gpio.c
View file @
d4892279
...
@@ -673,7 +673,6 @@ static int ir_probe(struct device *dev)
...
@@ -673,7 +673,6 @@ static int ir_probe(struct device *dev)
snprintf
(
ir
->
phys
,
sizeof
(
ir
->
phys
),
"pci-%s/ir0"
,
snprintf
(
ir
->
phys
,
sizeof
(
ir
->
phys
),
"pci-%s/ir0"
,
pci_name
(
sub
->
core
->
pci
));
pci_name
(
sub
->
core
->
pci
));
ir
->
sub
=
sub
;
ir_input_init
(
input_dev
,
&
ir
->
ir
,
ir_type
,
ir_codes
);
ir_input_init
(
input_dev
,
&
ir
->
ir
,
ir_type
,
ir_codes
);
input_dev
->
name
=
ir
->
name
;
input_dev
->
name
=
ir
->
name
;
input_dev
->
phys
=
ir
->
phys
;
input_dev
->
phys
=
ir
->
phys
;
...
@@ -688,6 +687,9 @@ static int ir_probe(struct device *dev)
...
@@ -688,6 +687,9 @@ static int ir_probe(struct device *dev)
}
}
input_dev
->
cdev
.
dev
=
&
sub
->
core
->
pci
->
dev
;
input_dev
->
cdev
.
dev
=
&
sub
->
core
->
pci
->
dev
;
ir
->
input
=
input_dev
;
ir
->
sub
=
sub
;
if
(
ir
->
polling
)
{
if
(
ir
->
polling
)
{
INIT_WORK
(
&
ir
->
work
,
ir_work
,
ir
);
INIT_WORK
(
&
ir
->
work
,
ir_work
,
ir
);
init_timer
(
&
ir
->
timer
);
init_timer
(
&
ir
->
timer
);
...
@@ -708,7 +710,6 @@ static int ir_probe(struct device *dev)
...
@@ -708,7 +710,6 @@ static int ir_probe(struct device *dev)
/* all done */
/* all done */
dev_set_drvdata
(
dev
,
ir
);
dev_set_drvdata
(
dev
,
ir
);
input_register_device
(
ir
->
input
);
input_register_device
(
ir
->
input
);
printk
(
DEVNAME
": %s detected at %s
\n
"
,
ir
->
name
,
ir
->
phys
);
/* the remote isn't as bouncy as a keyboard */
/* the remote isn't as bouncy as a keyboard */
ir
->
input
->
rep
[
REP_DELAY
]
=
repeat_delay
;
ir
->
input
->
rep
[
REP_DELAY
]
=
repeat_delay
;
...
...
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