aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2015-12-10 11:10:12 +0000
committerLinus Walleij <[email protected]>2015-12-14 13:10:04 +0000
commit3773c195d3874d38d1c5ac68868024b32a1f08c9 (patch)
tree5c33a6f016c3094361210d9862f41a1324507074 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentgpio: forward-declare enum gpiod_flags (diff)
downloadkernel-3773c195d3874d38d1c5ac68868024b32a1f08c9.tar.gz
kernel-3773c195d3874d38d1c5ac68868024b32a1f08c9.zip
gpio: zynq: Do PM initialization earlier to support gpio hogs
GPIO hogs registration is call at the end of gpiochip_add() function. Calling sequence is: gpiochip_add -> of_gpiochip_add -> of_gpiochip_scan_hogs -> gpiod_hog -> gpiochip_request_own_desc -> __gpiod_request -> chip->request -> zynq_gpio_request which calls pm_runtime_get_sync() which returns -13 because PM is not initialized yet. Initialize PM before gpiochip_add is called to fix this issue. Signed-off-by: Michal Simek <[email protected]> Signed-off-by: Soren Brinkmann <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions