aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2017-07-08 10:41:18 +0200
committerMark Brown <[email protected]>2017-07-17 12:09:52 +0100
commit676a4e3bab445d53fca4756865e2c0e2a87c38d6 (patch)
treed0852607196169bbd483ec63564fd8e73cea496a /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
spi: pxa2xx: Only claim CS GPIOs when the slave device is created
Avoid hogging chip select GPIOs just because they are listed for the master. They might be mulitplexed and, if no slave device is attached, used for different purposes. Moreover, this strategy avoids having to allocate a cs_gpiods structure. Tested on the IOT2000 where the second SPI bus is connected to an Arduino-compatible connector and multiplexed between SPI, GPIO and PWM usage. Signed-off-by: Jan Kiszka <[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