Date: Sat, 13 Dec 2008 07:45:48 +0000 (UTC) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186031 - head/sys/dev/acpica Message-ID: <200812130745.mBD7jmXs022619@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: silby Date: Sat Dec 13 07:45:48 2008 New Revision: 186031 URL: http://svn.freebsd.org/changeset/base/186031 Log: 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 Modified: head/sys/dev/acpica/acpi_smbat.c Modified: head/sys/dev/acpica/acpi_smbat.c ============================================================================== --- head/sys/dev/acpica/acpi_smbat.c Sat Dec 13 07:23:55 2008 (r186030) +++ head/sys/dev/acpica/acpi_smbat.c Sat Dec 13 07:45:48 2008 (r186031) @@ -332,7 +332,7 @@ acpi_smbus_read_multi_1(struct acpi_smba ptr[len] = val; if (batt_sleep_ms) - AcpiOsSleep(1); + AcpiOsSleep(batt_sleep_ms); } out:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812130745.mBD7jmXs022619>