openwrt/target/linux/realtek/files-6.12
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
..
arch/mips realtek: setup cpu port in soc_info structure 2025-12-31 21:55:32 +01:00
Documentation/devicetree/bindings/i2c realtek: cleanup documentation 2025-08-14 10:35:39 +02:00
drivers realtek: pcs: rtl931x: fix and cleanup CMU functions 2026-01-27 09:22:10 +01:00
include/dt-bindings/clock