mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-21 15:45:02 +00:00
Quick change to r186026. One of the conditionals was:
if (batt_sleep_ms) AcpiOsSleep(1); where the rest are all: if (batt_sleep_ms) AcpiOsSleep(batt_sleep_ms); I can't recall why that one was different, so change it to match the rest. Pointed out by: Christoph Mallon MFC after: 2 weeks
This commit is contained in:
parent
d4892ee51e
commit
2b39b8273f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186031
@ -332,7 +332,7 @@ acpi_smbus_read_multi_1(struct acpi_smbat_softc *sc, uint8_t addr, uint8_t cmd,
|
||||
|
||||
ptr[len] = val;
|
||||
if (batt_sleep_ms)
|
||||
AcpiOsSleep(1);
|
||||
AcpiOsSleep(batt_sleep_ms);
|
||||
}
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user