summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_debug_support.c
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2025-03-07 17:11:45 +0000
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-03-25 12:13:42 +0800
commit02933626c7351db6f38cd72d85b47188655fbc85 (patch)
treee040282b30e23552c0015a7df3f0746db7ec7b04 /lib/efi_loader/efi_debug_support.c
parent3d8be1f5ec30180748259a251efe4f63c8b4b329 (diff)
clk: sophgo: Fix return values of register updating helpers
These helpers wrongly return the updated register value. As a non-zero value indicates failure, this causes various clock operations are considered failed. Correct the return value to constant zero, since these simple MMIO operations won't fail. This fixes clock enabling failures during booting process, In: serial@4140000 Out: serial@4140000 Err: serial@4140000 Net: Enable clock-controller@3002000 failed failed to enable clock 0 No ethernet found. which leads to misoperation of various peripherals. Fixes: 5f364e072e7 ("clk: sophgo: cv1800b: Add clock controller driver for cv1800b SoC") Tested-by: Yuguo Pei <purofle@gmail.com> Signed-off-by: Yao Zi <ziyao@disroot.org>
Diffstat (limited to 'lib/efi_loader/efi_debug_support.c')
0 files changed, 0 insertions, 0 deletions