extcon: Trivial typo fix 79/292879/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 May 2023 09:25:03 +0000 (11:25 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 18 May 2023 09:49:46 +0000 (09:49 +0000)
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I369e56a03947bc50b05c799e6ff937c7bba62e20

src/extcon/earjack.c
src/extcon/extcon.h

index ae44eaa..43e8db2 100644 (file)
@@ -78,7 +78,7 @@ static int earjack_update(const char *index, int status)
                _E("Failed to set vconf value for earjack: %d", vconf_get_ext_errno());
        earjack_send_broadcast(status);
        earjack_send_system_event(status);
-       if (status != EARJACK_DICONNECTED) {
+       if (status != EARJACK_DISCONNECTED) {
                display_plugin_pm_change_internal(INTERNAL_LOCK_EARJACK, LCD_NORMAL);
        }
 
index 77247b0..db68cfb 100644 (file)
@@ -62,7 +62,7 @@ typedef enum {
 } extcon_usbhost_state_e;
 
 typedef enum {
-       EARJACK_DICONNECTED     = 0,
+       EARJACK_DISCONNECTED    = 0,
        EARJACK_3WIRE           = 0x1,
        EARJACK_4WIRE           = 0x3,
        EARJACK_TVOUT           = 0x10