1. 02 Feb, 2021 1 commit
    • Hans de Goede's avatar
      platform/x86: thinkpad_acpi: Don't register keyboard_lang unnecessarily · 9e9c6413
      Hans de Goede authored
      All recent ThinkPad BIOS-es support the GSKL method used to query the
      keyboard-layout used by the ECFW for the SHIFT + other-key key-press
      emulation for special keys such as e.g. the '=', '(' and ')' keys
      above the numpad on 15" models.
      
      So just checking for the method is not a good indicator of the
      model supporting getting/setting the keyboard_lang.
      
      On models where this is not supported GSKL succeeds, but it returns
      METHOD_ERR in the returned integer to indicate that this is not
      supported on this model.
      
      Add a check for METHOD_ERR and return -ENODEV if it is set to
      avoid registering a non-working keyboard_lang sysfs-attr on models
      where this is not supported.
      
      Cc: Nitin Joshi <njoshi1@lenovo.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20210125205258.135664-1-hdegoede@redhat.com
      9e9c6413
  2. 31 Jan, 2021 1 commit
  3. 25 Jan, 2021 8 commits
  4. 18 Jan, 2021 7 commits
  5. 13 Jan, 2021 4 commits
  6. 06 Jan, 2021 9 commits
  7. 04 Jan, 2021 9 commits
  8. 27 Dec, 2020 1 commit