openwrt/target/linux/realtek
Jonas Jelonek 48ada316f2 realtek: pcs: rtl931x: fix and cleanup CMU functions
Fix the wrong values bit values when setting CMU band which were the
same for both 'enable == true' and 'enable == false'.

While at it, fix some coding issues in the CMU functions:
- drop confusing debug output
- use ternary value instead of if-else
- return proper error
- make variable declaration in reverse christmas tree
- drop unneeded temporary value

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21707
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-01-27 09:22:10 +01:00
..
base-files realtek/rtl839x: Edgecore ECS4100-12PH support 2026-01-09 21:03:41 +02:00
dts realtek: add Zyxel GS1900-24 B1 device definition 2026-01-27 01:34:21 +01:00
files/firmware/rtl838x_phy realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
files-6.12 realtek: pcs: rtl931x: fix and cleanup CMU functions 2026-01-27 09:22:10 +01:00
image realtek: add Zyxel GS1900-24 B1 device definition 2026-01-27 01:34:21 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
rtl839x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x kernel: reorder configuration options 2026-01-26 23:57:25 +01:00
rtl930x_nand kernel: reorder configuration options 2026-01-26 23:57:25 +01:00
rtl931x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00