aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorLuca Weiss <[email protected]>2022-11-29 22:29:01 +0100
committerPavel Machek <[email protected]>2022-12-07 21:03:23 +0100
commit135780f1048b3f956f5b10bb23dec9c2d2c4ef6d (patch)
tree4598bf2889e1b4ff184191e17efed695f86975c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parent447242e1292e8aa22e1371110867b9c543bf0373 (diff)
leds: is31fl319x: Fix setting current limit for is31fl319{0,1,3}
The current setting lives in bits 4:2 (as also defined by the mask) but the current limit defines in the driver use bits 2:0 which should be shifted over so they don't get masked out completely (except for 17.5mA which became 10mA). Now checking /sys/kernel/debug/regmap/1-0068/registers shows that the current limit is applied correctly and doesn't take the default b000 = 42mA. Fixes: fa877cf1abb9 ("leds: is31fl319x: Add support for is31fl319{0,1,3} chips") Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Vincent Knecht <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions