kernel: bump 5.10 to 5.10.55
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-5.10 / 905-BCM53573-minor-hacks.patch
index f47ea95c955e72949f0156c69c095c7cdf76dc48..a1d27949f0489dc35327c2c0e0d6fca9e2251944 100644 (file)
@@ -61,7 +61,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  #include <linux/clockchips.h>
  #include <linux/clocksource.h>
  #include <linux/interrupt.h>
-@@ -919,6 +920,16 @@ static void arch_timer_of_configure_rate
+@@ -934,6 +935,16 @@ static void arch_timer_of_configure_rate
        if (of_property_read_u32(np, "clock-frequency", &arch_timer_rate))
                arch_timer_rate = rate;
  
@@ -76,5 +76,5 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
 +      }
 +
        /* Check the timer frequency. */
-       if (arch_timer_rate == 0)
+       if (validate_timer_rate())
                pr_warn("frequency not available\n");