]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Fix ACPI conflict check
authorJean Delvare <khali@linux-fr.org>
Sat, 18 Feb 2012 16:54:23 +0000 (17:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:47 +0000 (18:46 +0100)
commit1669df9078f460c2656926e387023c115ecc600d
treebc3dc831e0aa2f00c9a6806c796d270b8c3dfd5b
parent4e18b12de72bbe41288b8073e657449278e22f11
mfd: Fix ACPI conflict check

The code is currently always checking the first resource of every
device only (several times.) This has been broken since the ACPI check
was added in February 2010 in commit
f70b3c781642b84bd36aed8903804fe04fae1676.

Fix the check to run on each resource individually, once.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@vger.kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mfd-core.c