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
42d4a22d
Commit
42d4a22d
authored
Oct 20, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: add LED protocol numbers
parent
2bb7eae8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.c
+1
-0
drivers/staging/greybus/greybus_manifest.h
drivers/staging/greybus/greybus_manifest.h
+1
-0
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.c
+1
-0
No files found.
drivers/staging/greybus/connection.c
View file @
42d4a22d
...
...
@@ -211,6 +211,7 @@ int gb_connection_init(struct gb_connection *connection)
case
GREYBUS_PROTOCOL_AP
:
case
GREYBUS_PROTOCOL_UART
:
case
GREYBUS_PROTOCOL_HID
:
case
GREYBUS_PROTOCOL_LED
:
case
GREYBUS_PROTOCOL_VENDOR
:
default:
gb_connection_err
(
connection
,
"unimplemented protocol %u"
,
...
...
drivers/staging/greybus/greybus_manifest.h
View file @
42d4a22d
...
...
@@ -31,6 +31,7 @@ enum greybus_protocol {
GREYBUS_PROTOCOL_UART
=
0x04
,
GREYBUS_PROTOCOL_HID
=
0x05
,
GREYBUS_PROTOCOL_BATTERY
=
0x08
,
GREYBUS_PROTOCOL_LED
=
0x0e
,
/* ... */
GREYBUS_PROTOCOL_VENDOR
=
0xff
,
};
...
...
drivers/staging/greybus/operation.c
View file @
42d4a22d
...
...
@@ -166,6 +166,7 @@ static gb_operation_recv_handler gb_operation_recv_handlers[] = {
[
GREYBUS_PROTOCOL_UART
]
=
NULL
,
[
GREYBUS_PROTOCOL_HID
]
=
NULL
,
[
GREYBUS_PROTOCOL_BATTERY
]
=
gb_operation_recv_none
,
[
GREYBUS_PROTOCOL_LED
]
=
NULL
,
[
GREYBUS_PROTOCOL_VENDOR
]
=
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