Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
976814bb
Commit
976814bb
authored
Mar 07, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix the pcwd_usb driver due to act_altsetting going away.
parent
536a5db5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/char/watchdog/pcwd_usb.c
drivers/char/watchdog/pcwd_usb.c
+1
-1
No files found.
drivers/char/watchdog/pcwd_usb.c
View file @
976814bb
...
...
@@ -589,7 +589,7 @@ static int usb_pcwd_probe(struct usb_interface *interface, const struct usb_devi
}
/* get the active interface descriptor */
iface_desc
=
&
interface
->
altsetting
[
interface
->
act_altsetting
]
;
iface_desc
=
interface
->
cur_altsetting
;
/* check out that we have a HID device */
if
(
!
(
iface_desc
->
desc
.
bInterfaceClass
==
USB_CLASS_HID
))
{
...
...
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