diff options
-rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c index bc0283f0dd88..01cfce6ac20b 100644 --- a/arch/arm/mach-mvebu/board-v7.c +++ b/arch/arm/mach-mvebu/board-v7.c @@ -120,7 +120,7 @@ static void __init thermal_quirk(void) struct device_node *np; u32 dev, rev; - if (mvebu_get_soc_id(&dev, &rev) && rev > ARMADA_375_Z1_REV) + if (mvebu_get_soc_id(&dev, &rev) == 0 && rev > ARMADA_375_Z1_REV) return; for_each_compatible_node(np, NULL, "marvell,armada375-thermal") { |