The number of ports is incorrectly set to the maximum available for a DSA
switch. Even if the extra ports are not used, this causes some functions
to be called later, like port_disable() and port_stp_state_set(). If the
driver doesn't check the port index, it will end up modifying unknown
registers.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ksz8795.c | ||
| ksz8795_reg.h | ||
| ksz8795_spi.c | ||
| ksz9477.c | ||
| ksz9477_i2c.c | ||
| ksz9477_reg.h | ||
| ksz9477_spi.c | ||
| ksz_common.c | ||
| ksz_common.h | ||