aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorTrent Piepho <[email protected]>2017-10-31 12:49:05 -0700
committerMark Brown <[email protected]>2017-11-10 21:28:10 +0000
commit4e21791e741c7c1b962c4a8327529f52310b9aac (patch)
treec0d85042521e6549a57bb189d522177e43f495a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parent881a0b993e9f065cbb3673c94c395fa1de24bdcc (diff)
spi: imx: Fix failure path leak on GPIO request error
If the code that requests any chip select GPIOs fails, the cleanup of spi_bitbang_start() by calling spi_bitbang_stop() is not done. Add this to the failure path. Note that spi_bitbang_start() has to be called before requesting GPIOs because the GPIO data in the spi master is populated when the master is registed, and that doesn't happen until spi_bitbang_start() is called. CC: Shawn Guo <[email protected]> CC: Sascha Hauer <[email protected]> CC: Fabio Estevam <[email protected]> CC: Mark Brown <[email protected]> CC: Oleksij Rempel <[email protected]> Signed-off-by: Trent Piepho <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions