aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-12-15 15:53:00 +0000
committerBartosz Golaszewski <[email protected]>2023-12-18 09:00:43 +0000
commit65a828bab15887b33336d251fd659b2ae86de6d6 (patch)
tree3b33dddd67f9d8914c1034ea0d09cf47723a77df /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
parentgpiolib: rename static functions that are called with the lock taken (diff)
downloadkernel-65a828bab15887b33336d251fd659b2ae86de6d6.tar.gz
kernel-65a828bab15887b33336d251fd659b2ae86de6d6.zip
gpiolib: use a mutex to protect the list of GPIO devices
The global list of GPIO devices is never modified or accessed from atomic context so it's fine to protect it using a mutex. Add a new global lock dedicated to the gpio_devices list and use it whenever accessing or modifying it. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
0 files changed, 0 insertions, 0 deletions