diff options
| author | Kishon Vijay Abraham I <kishon@ti.com> | 2016-09-06 09:36:02 +0530 |
|---|---|---|
| committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-09-10 16:48:59 +0530 |
| commit | 33692e3c2aa672ea2806a00fdb0218547f6738e5 (patch) | |
| tree | 41fdc8f920aeb722e34b65a511830dfa07215e4d /drivers/extcon/extcon-gpio.c | |
| parent | 3fa295667a70e8f2e7e0251dbaa615b01ca82b23 (diff) | |
| parent | 8df0cfe6c6c4a9355989baa8de9f166b2bc51f76 (diff) | |
| download | linux-33692e3c2aa672ea2806a00fdb0218547f6738e5.tar.gz linux-33692e3c2aa672ea2806a00fdb0218547f6738e5.tar.bz2 linux-33692e3c2aa672ea2806a00fdb0218547f6738e5.zip | |
Merge branch 'ib-extcon-phy-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into next
Diffstat (limited to 'drivers/extcon/extcon-gpio.c')
| -rw-r--r-- | drivers/extcon/extcon-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index d023789f0fda..b1b0264eb12d 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c @@ -49,7 +49,7 @@ static void gpio_extcon_work(struct work_struct *work) state = gpiod_get_value_cansleep(data->id_gpiod); if (data->pdata->gpio_active_low) state = !state; - extcon_set_state(data->edev, state); + extcon_set_cable_state_(data->edev, data->pdata->extcon_id, state); } static irqreturn_t gpio_irq_handler(int irq, void *dev_id) |
