[PATCH 6.1 526/568] can: sja1000: fix max irq loop handling