commit | 2eea1fa82f681b484acb8e5a0d213b64a5c5574c | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <olteanv@gmail.com> | Tue Nov 12 23:22:00 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 12 19:53:07 2019 -0800 |
tree | 6e2c203fd0270c3d65a5574cd47556954698a58f | |
parent | d438945ae565e7959d11951c4227c224de7595e1 [diff] |
net: dsa: sja1105: Print the reset reason Sometimes it can be quite opaque even for me why the driver decided to reset the switch. So instead of adding dump_stack() calls each time for debugging, just add a reset reason to sja1105_static_config_reload calls which gets printed to the console. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>