diff options
| -rw-r--r-- | drivers/input/misc/vibrator/drv2605l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/vibrator/drv2605l.c b/drivers/input/misc/vibrator/drv2605l.c index 3645d69c036d..fe46f3e8976e 100644 --- a/drivers/input/misc/vibrator/drv2605l.c +++ b/drivers/input/misc/vibrator/drv2605l.c @@ -976,7 +976,7 @@ static int drv2605l_probe(struct i2c_client* client, const struct i2c_device_id* return err; } - haptics->platform_data.enable_gpio = devm_gpiod_get(&client->dev, "enable"); + haptics->platform_data.enable_gpio = devm_gpiod_get(&client->dev, "enable", GPIOD_OUT_HIGH); if (IS_ERR(haptics->platform_data.enable_gpio)) { err = PTR_ERR(haptics->platform_data.enable_gpio); if (err != -ENOENT && err != -ENOSYS) |
