• Jesse Barnes's avatar
    x86/PCI: fixup early quirk probing · 15650a2f
    Jesse Barnes authored
    On x86, we do early PCI probing to apply some quirks for chipset bugs.
    However, in a recent cleanup (7bcbc78d
    
    ) 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: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    15650a2f
early-quirks.c 5.17 KB