mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
The RTL8365MB_DIGITAL_INTERFACE_SELECT_MODE_MASK macro was shifting
the 4-bit mask (0xF) by only (_extint % 2) bits instead of
(_extint % 2) * 4. This caused the mask to overlap with the adjacent
nibble when configuring odd-numbered external interfaces, selecting
the wrong bits entirely.
Align the shift calculation with the existing ...MODE_OFFSET macro.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| realtek-mdio.c | ||
| realtek-mdio.h | ||
| realtek-smi.c | ||
| realtek-smi.h | ||
| realtek.h | ||
| rtl83xx.c | ||
| rtl83xx.h | ||
| rtl8365mb.c | ||
| rtl8366-core.c | ||
| rtl8366rb-leds.c | ||
| rtl8366rb.c | ||
| rtl8366rb.h | ||