Skip to content
Snippets Groups Projects
  1. Mar 10, 2019
    • Vincent Batts's avatar
      Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 · e154ab69
      Vincent Batts authored
      
      Lenovo s21e-20 uses ELAN0601 in its ACPI tables for the Elan touchpad.
      
      Signed-off-by: default avatarVincent Batts <vbatts@hashbangbash.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      e154ab69
    • Arnd Bergmann's avatar
      Input: raspberrypi-ts - select CONFIG_INPUT_POLLDEV · 33667575
      Arnd Bergmann authored
      
      When CONFIG_INPUT_POLLDEV is disabled, we get a link error:
      
      drivers/input/touchscreen/raspberrypi-ts.o: In function `rpi_ts_probe':
      raspberrypi-ts.c:(.text+0xec): undefined reference to `devm_input_allocate_polled_device'
      raspberrypi-ts.c:(.text+0xec): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_input_allocate_polled_device'
      raspberrypi-ts.c:(.text+0x19c): undefined reference to `input_register_polled_device'
      raspberrypi-ts.c:(.text+0x19c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `input_register_polled_device'
      
      Select that symbol like we do from the other similar drivers.
      
      Fixes: 0b9f28fe ("Input: add official Raspberry Pi's touchscreen driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      33667575
    • Arnd Bergmann's avatar
      Input: msm-vibrator - use correct gpio header · 741c73ed
      Arnd Bergmann authored
      
      When CONFIG_GPIOLIB is not set, we get a couple of build
      errors during test building:
      
      drivers/input/misc/msm-vibrator.c: In function 'msm_vibrator_start':
      drivers/input/misc/msm-vibrator.c:79:3: error: implicit declaration of function 'gpiod_set_value_cansleep'; did you mean 'gpio_set_value_cansleep'? [-Werror=implicit-function-declaration]
         gpiod_set_value_cansleep(vibrator->enable_gpio, 1);
         ^~~~~~~~~~~~~~~~~~~~~~~~
         gpio_set_value_cansleep
      drivers/input/misc/msm-vibrator.c: In function 'msm_vibrator_probe':
      drivers/input/misc/msm-vibrator.c:176:26: error: implicit declaration of function 'devm_gpiod_get'; did you mean 'devm_gpio_free'? [-Werror=implicit-function-declaration]
        vibrator->enable_gpio = devm_gpiod_get(&pdev->dev, "enable",
                                ^~~~~~~~~~~~~~
                                devm_gpio_free
      drivers/input/misc/msm-vibrator.c:177:13: error: 'GPIOD_OUT_LOW' undeclared (first use in this function); did you mean 'GPIOF_INIT_LOW'?
                   GPIOD_OUT_LOW);
                   ^~~~~~~~~~~~~
                   GPIOF_INIT_LOW
      drivers/input/misc/msm-vibrator.c:177:13: note: each undeclared identifier is reported only once for each function it appears in
      
      This is easy to avoid when we use gpio/consumer.h as the documented interface.
      
      Fixes: 0f681d09 ("Input: add new vibrator driver for various MSM SOCs")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      741c73ed
  2. Mar 04, 2019
  3. Feb 20, 2019
  4. Feb 19, 2019
  5. Feb 17, 2019
  6. Feb 12, 2019
  7. Feb 10, 2019
  8. Feb 08, 2019
  9. Feb 07, 2019