aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-06-18 16:39:58 -0700
committerMark Brown <[email protected]>2020-06-19 16:49:35 +0100
commit0d574c6b59c6ac0ae5b581a2ffb813d446a50a3d (patch)
treee3bdb49b23d6215a867c1bc096b2abad332aa380 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentd194a22f504ff366dc2910736c4449dcee57c202 (diff)
spi: spi-geni-qcom: Simplify setup_fifo_xfer()
The definition of SPI_FULL_DUPLEX (3) is really SPI_TX_ONLY (1) ORed with SPI_RX_ONLY (2). Let's drop the define and simplify the code here a bit by collapsing the setting of 'm_cmd' into conditions that are the same. This is a non-functional change, just cleanup to consolidate code. Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Cc: Douglas Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions