projects
/
platform
/
hal
/
backend
/
tw3
/
device-tw3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7608fe7
)
external connection: add usb otg event
author
taeyoung
<ty317.kim@samsung.com>
Mon, 28 Nov 2016 13:46:10 +0000
(22:46 +0900)
committer
Taeyoung Kim
<ty317.kim@samsung.com>
Wed, 30 Nov 2016 05:56:59 +0000
(21:56 -0800)
usb otg event is related with otg connector.
Change-Id: Ic6ba3cdad611427eb8e64ee6338bff7bab5c9d97
Signed-off-by: taeyoung <ty317.kim@samsung.com>
hw/external_connection/external_connection.c
patch
|
blob
|
history
diff --git
a/hw/external_connection/external_connection.c
b/hw/external_connection/external_connection.c
index
0a94629
..
aa4f7da
100644
(file)
--- a/
hw/external_connection/external_connection.c
+++ b/
hw/external_connection/external_connection.c
@@
-36,6
+36,7
@@
static struct switch_device {
int state;
} switch_devices[] = {
{ EXTERNAL_CONNECTION_USB, "usb_cable", 0 },
+ { EXTERNAL_CONNECTION_USB_HOST, "otg" , 0 },
{ EXTERNAL_CONNECTION_DOCK, "dock" , 0 },
{ EXTERNAL_CONNECTION_HEADPHONE, "earjack" , 0 },
};