1. Jul 12, 2023
  2. Jul 09, 2023
  3. Jul 07, 2023
  4. Jul 05, 2023
  5. Jun 23, 2023
  6. Jun 21, 2023
  7. Jun 15, 2023
  8. Jun 14, 2023
  9. Jun 06, 2023
  10. Jun 05, 2023
  11. Jun 04, 2023
    • Andrew Jones's avatar
      lib: sbi: Align system suspend errors with spec · bdde2ecd
      Andrew Jones authored
      
      
      The spec says sbi_system_suspend() will return SBI_ERR_INVALID_PARAM
      when "sleep_type is reserved or is platform-specific and unimplemented"
      and SBI_ERR_NOT_SUPPORTED when sleep_type "is not reserved and is
      implemented, but the platform does not support it due to one or more
      missing dependencies." Ensure SBI_ERR_INVALID_PARAM is returned for
      reserved sleep types and that the system suspend driver can choose
      which of the two error types to return itself by returning an error
      from its check function rather than a boolean.
      
      Signed-off-by: default avatarAndrew Jones <ajones@ventanamicro.com>
      Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
      bdde2ecd