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
ee98689b
Commit
ee98689b
authored
Jun 22, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
parents
060de20e
d377e85b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
drivers/base/bus.c
drivers/base/bus.c
+2
-3
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+2
-2
No files found.
drivers/base/bus.c
View file @
ee98689b
...
...
@@ -270,9 +270,8 @@ int bus_add_device(struct device * dev)
if
(
bus
)
{
pr_debug
(
"bus %s: add device %s
\n
"
,
bus
->
name
,
dev
->
bus_id
);
error
=
device_attach
(
dev
);
device_attach
(
dev
);
klist_add_tail
(
&
bus
->
klist_devices
,
&
dev
->
knode_bus
);
if
(
error
>=
0
)
error
=
device_add_attrs
(
bus
,
dev
);
if
(
!
error
)
{
sysfs_create_link
(
&
bus
->
devices
.
kobj
,
&
dev
->
kobj
,
dev
->
bus_id
);
...
...
drivers/usb/input/hid-core.c
View file @
ee98689b
...
...
@@ -1762,7 +1762,7 @@ static int hid_probe(struct usb_interface *intf, const struct usb_device_id *id)
intf
->
altsetting
->
desc
.
bInterfaceNumber
);
if
(
!
(
hid
=
usb_hid_configure
(
intf
)))
return
-
E
IO
;
return
-
E
NODEV
;
hid_init_reports
(
hid
);
hid_dump_device
(
hid
);
...
...
@@ -1777,7 +1777,7 @@ static int hid_probe(struct usb_interface *intf, const struct usb_device_id *id)
if
(
!
hid
->
claimed
)
{
printk
(
"HID device not claimed by input or hiddev
\n
"
);
hid_disconnect
(
intf
);
return
-
E
IO
;
return
-
E
NODEV
;
}
printk
(
KERN_INFO
);
...
...
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