aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorWentao Liang <[email protected]>2025-05-26 02:56:27 +0000
committerMark Brown <[email protected]>2025-05-26 13:01:29 +0000
commit65271f868cb1dca709ff69e45939bbef8d6d0b70 (patch)
tree48b7d682b4ec0a295dbd7adb6a9c1ce306300af2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentfix: Correct Samsung 'Electronics' spelling in (diff)
downloadkernel-65271f868cb1dca709ff69e45939bbef8d6d0b70.tar.gz
kernel-65271f868cb1dca709ff69e45939bbef8d6d0b70.zip
regulator: max14577: Add error check for max14577_read_reg()
The function max14577_reg_get_current_limit() calls the function max14577_read_reg(), but does not check its return value. A proper implementation can be found in max14577_get_online(). Add a error check for the max14577_read_reg() and return error code if the function fails. Fixes: b0902bbeb768 ("regulator: max14577: Add regulator driver for Maxim 14577") Cc: [email protected] # v3.14 Signed-off-by: Wentao Liang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions