aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-01-23 14:26:09 +0100
committerBartosz Golaszewski <[email protected]>2024-02-12 10:50:49 +0100
commit2559f2e09211dd4a5fde5bc5749ef4714fe38f7f (patch)
treeb07eed30136fa34cf596e9c5783c0ecaeb83d78b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent35b545332b809a439aa1bf3fde5305e6eb243cf0 (diff)
gpio: reinforce desc->flags handling
We now removed the gpio_lock spinlock and modified the places previously protected by it to handle desc->flags access in a consistent way. Let's improve other places that were previously unprotected by reading the flags field of gpio_desc once and using the stored value for logic consistency. If we need to modify the field, let's also write it back once with a consistent value resulting from the function's logic. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions