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
ef084028
Commit
ef084028
authored
Jul 27, 2005
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix keyspan_remote endian bug on probe
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
91e79c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
drivers/usb/input/keyspan_remote.c
drivers/usb/input/keyspan_remote.c
+0
-5
No files found.
drivers/usb/input/keyspan_remote.c
View file @
ef084028
...
@@ -431,11 +431,6 @@ static int keyspan_probe(struct usb_interface *interface, const struct usb_devic
...
@@ -431,11 +431,6 @@ static int keyspan_probe(struct usb_interface *interface, const struct usb_devic
struct
usb_endpoint_descriptor
*
endpoint
;
struct
usb_endpoint_descriptor
*
endpoint
;
struct
usb_device
*
udev
=
usb_get_dev
(
interface_to_usbdev
(
interface
));
struct
usb_device
*
udev
=
usb_get_dev
(
interface_to_usbdev
(
interface
));
/* See if the offered device matches what we can accept */
if
((
udev
->
descriptor
.
idVendor
!=
USB_KEYSPAN_VENDOR_ID
)
||
(
udev
->
descriptor
.
idProduct
!=
USB_KEYSPAN_PRODUCT_UIA11
)
)
return
-
ENODEV
;
/* allocate memory for our device state and initialize it */
/* allocate memory for our device state and initialize it */
remote
=
kmalloc
(
sizeof
(
*
remote
),
GFP_KERNEL
);
remote
=
kmalloc
(
sizeof
(
*
remote
),
GFP_KERNEL
);
if
(
remote
==
NULL
)
{
if
(
remote
==
NULL
)
{
...
...
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