external connection: add usb otg event
authortaeyoung <ty317.kim@samsung.com>
Mon, 28 Nov 2016 13:46:10 +0000 (22:46 +0900)
committerTaeyoung 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

index 0a94629..aa4f7da 100644 (file)
@@ -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 },
 };