HomeFreeBSD

Always check return value from acpi_GetInteger() after r358219.

Description

Always check return value from acpi_GetInteger() after r358219.
If a failure happens reading the lid state, assume the lid is opened.

Suggested by: cem @
Differential Revision: https://reviews.freebsd.org/D23724
PR: 240881
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Differential Revision
D23724: acpi_lid: correct Lid state after boot and resume
Parents
rS358269: Merge ^/head r358263 through r358268.
Branches
Unknown
Tags
Unknown