]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: fixup early quirk probing
authorJesse Barnes <jbarnes@hobbes.lan>
Mon, 16 Jun 2008 22:29:45 +0000 (15:29 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 16 Jun 2008 22:29:45 +0000 (15:29 -0700)
commit1465753e3b76076fa9109c7cf38c1ac7e5884237
tree4fa3d379b9db7b5388494d1083dc7d0305753ae7
parentecef93be2f9cda599a53d5a21c98fe462390417d
x86/PCI: fixup early quirk probing

On x86, we do early PCI probing to apply some quirks for chipset bugs.
However, in a recent cleanup (664b569adf981def872a2cb518c86088402e49d3) a
thinko was introduced that causes us to probe all subfunctions of even single
function devices (a function was factored out of an inner loop and a "break"
became a "return").  Fix that up by making check_dev_quirk() return a value so
we can keep the factored code intact.

Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/kernel/early-quirks.c