From: Mika Westerberg Date: Tue, 6 Jun 2017 12:24:56 +0000 (+0300) Subject: thunderbolt: Do not warn about newer DROM versions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2466355c0007cbd853c3babce0cdb6ef1ff23bc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git thunderbolt: Do not warn about newer DROM versions DROM version 2 is compatible with the previous generation so no need to warn about that. Signed-off-by: Mika Westerberg Reviewed-by: Yehezkel Bernat Reviewed-by: Michael Jamet Reviewed-by: Andy Shevchenko Signed-off-by: Andreas Noever Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c index e4e64b130514..eb2179c98b09 100644 --- a/drivers/thunderbolt/eeprom.c +++ b/drivers/thunderbolt/eeprom.c @@ -488,7 +488,7 @@ parse: goto err; } - if (header->device_rom_revision > 1) + if (header->device_rom_revision > 2) tb_sw_warn(sw, "drom device_rom_revision %#x unknown\n", header->device_rom_revision);