]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: Avoid doing multiple probes for the same card
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 30 Jun 2010 04:42:21 +0000 (01:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Jul 2010 21:04:29 +0000 (18:04 -0300)
commitaccd032f73ad29aa7066759121b31fa48302a714
tree59d8edd1e277112baee013d185792a0d79a1d3c4
parent5a6bc49ebbfe579b681f0211e5da6abd37ebc995
i7core_edac: Avoid doing multiple probes for the same card

As Nehalem/Nehalem-EP/Westmere devices uses several devices for the same
functionality (memory controller), the default way of proping devices doesn't
work. So, instead of a per-device probe, all devices should be probed at once.

This means that we should block any new attempt of probe, otherwise, it will
try to register the same device several times.

Acked-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c