1. 19 May, 2022 14 commits
  2. 11 May, 2022 1 commit
    • Srinivas Pandruvada's avatar
      thermal: int340x: Mode setting with new OS handshake · 7b145802
      Srinivas Pandruvada authored
      With the new OS handshake introduced by commit: "c7ff2976 ("thermal:
      int340x: Update OS policy capability handshake")", the "enabled" thermal
      zone mode doesn't work in the same way as previously.
      
      The "enabled" mode fails with -EINVAL when the new handshake is used.
      
      To address this issue, when the new OS UUID mask is set:
      
       - When the mode is "enabled", return 0 as the firmware already has the
         latest policy mask.
      
       - When the mode is "disabled", update the firmware with the UUID mask
         of zero.
      
      This way, the firmware can take over the thermal control.
      
      Also reset the OS UUID mask, which allows user space to update with new
      set of policies.
      
      Fixes: c7ff2976 ("thermal: int340x: Update OS policy capability handshake")
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      [ rjw: Changelog edits, removed unneeded parens ]
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      7b145802
  3. 08 May, 2022 24 commits
  4. 07 May, 2022 1 commit
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v5.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 30c8e80f
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix the bounds check for the 'gpio-reserved-ranges' device property
         in gpiolib-of
      
       - drop the assignment of the pwm base number in gpio-mvebu (this was
         missed by the patch doing it globally for all pwm drivers)
      
       - fix the fwnode assignment (use own fwnode, not the parent's one) for
         the GPIO irqchip in gpio-visconti
      
       - update the irq_stat field before checking the trigger field in
         gpio-pca953x
      
       - update GPIO entry in MAINTAINERS
      
      * tag 'gpio-fixes-for-v5.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
        gpio: visconti: Fix fwnode of GPIO IRQ
        MAINTAINERS: update the GPIO git tree entry
        gpio: mvebu: drop pwm base assignment
        gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
      30c8e80f