]> Pileus Git - ~andy/linux/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)
commit855cc454341c6ca1212bf86939f2f2a51ab54e18
treebc3dc831e0aa2f00c9a6806c796d270b8c3dfd5b
parentee42b3aa3791263a6cca36856b306cd1ae897ebf
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
91fedede0338eb6203cdd618d8ece873fdb7c22c.

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