From: Lan Tianyu Date: Wed, 1 Apr 2015 01:47:18 +0000 (+0800) Subject: ACPI / EC: Call acpi_walk_dep_device_list() after installing EC opregion handler X-Git-Tag: omap-for-v4.1/fixes-rc1~144^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c832b3e85b6ac35e5f113fa4204eb725c54794e;p=pandora-kernel.git ACPI / EC: Call acpi_walk_dep_device_list() after installing EC opregion handler On some machines(E,G Mircosoft surface 3), ACPI battery depends on the EC operation region and it has _DEP method which contains EC. Current code doesn't support such devices whose dep_unmet will be not be decreased after EC opregion handler being installed. This blocks battery device to be attached with its driver. This patch is to fix the issue. Link: https://bugzilla.kernel.org/show_bug.cgi?id=90161 Reported-and-tested-by: Lompik Tested-by: Valentin Lab Signed-off-by: Lan Tianyu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed