aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAyushi Makhija <[email protected]>2025-05-05 09:42:45 +0000
committerDmitry Baryshkov <[email protected]>2025-05-05 14:23:34 +0000
commit50935044e58e563cdcfd556d62f27bc8744dd64e (patch)
tree02312b56641dc2d0f69b8bae72e206c70151df22 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/bridge: anx7625: fix anx7625_sink_detect() to return correct hpd status (diff)
downloadkernel-50935044e58e563cdcfd556d62f27bc8744dd64e.tar.gz
kernel-50935044e58e563cdcfd556d62f27bc8744dd64e.zip
drm/bridge: anx7625: change the gpiod_set_value API
Use gpiod_set_value_cansleep() instead of gpiod_set_value() to fix the below call trace in the boot log: [ 5.690534] Call trace: [ 5.690536] gpiod_set_value+0x40/0xa4 [ 5.690540] anx7625_runtime_pm_resume+0xa0/0x324 [anx7625] [ 5.690545] __rpm_callback+0x48/0x1d8 [ 5.690549] rpm_callback+0x6c/0x78 Certain GPIO controllers require access via message-based buses such as I2C or SPI, which may cause the GPIOs to enter a sleep state. Therefore, use the gpiod_set_value_cansleep(). Signed-off-by: Ayushi Makhija <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions