1. 03 Feb, 2021 2 commits
    • Maximilian Luz's avatar
      platform/surface: aggregator: Fix braces in if condition with unlikely() macro · 2691d0ae
      Maximilian Luz authored
      The braces of the unlikely() macro inside the if condition only cover
      the subtraction part, not the whole statement. This causes the result of
      the subtraction to be converted to zero or one. While that still works
      in this context, it causes static analysis tools to complain (and is
      just plain wrong).
      
      Fix the bracket placement and, while at it, simplify the if-condition.
      Also add a comment to the if-condition explaining what we expect the
      result to be and what happens on the failure path, as it seems to have
      caused a bit of confusion.
      
      This commit should not cause any difference in behavior or generated
      code.
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Fixes: c167b9c7 ("platform/surface: Add Surface Aggregator subsystem")
      Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
      Link: https://lore.kernel.org/r/20210126172202.1428367-1-luzmaximilian@gmail.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      2691d0ae
    • Hans de Goede's avatar
      Merge tag 'ib-drm-gpio-pdx86-rtc-wdt-v5.12-1' into for-next · a40f530e
      Hans de Goede authored
      ib-drm-gpio-pdx86-rtc-wdt for v5.12-1
      
      First part of Intel MID outdated platforms removal.
      
      The following is an automated git shortlog grouped by driver:
      
      drm/gma500:
       -  Get rid of duplicate NULL checks
       -  Convert to use new SCU IPC API
      
      gpio:
       -  msic: Remove driver for deprecated platform
       -  intel-mid: Remove driver for deprecated platform
      
      intel_mid_powerbtn:
       -  Remove driver for deprecated platform
      
      intel_mid_thermal:
       -  Remove driver for deprecated platform
      
      intel_scu_wdt:
       -  Get rid of custom x86 model comparison
       -  Drop SCU notification
       -  Move driver from arch/x86
      
      rtc:
       -  mrst: Remove driver for deprecated platform
      
      watchdog:
       -  intel-mid_wdt: Postpone IRQ handler registration till SCU is ready
       -  intel_scu_watchdog: Remove driver for deprecated platform
      a40f530e
  2. 02 Feb, 2021 10 commits
  3. 31 Jan, 2021 1 commit
  4. 27 Jan, 2021 2 commits
  5. 25 Jan, 2021 21 commits
  6. 18 Jan, 2021 4 commits