summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-06-20 05:22:32 +0300
committerMark Brown <broonie@kernel.org>2020-06-22 17:58:31 +0300
commit19ea327544507dbebc1630bc93ea188e4fae94bb (patch)
tree30a23b3b82ae351661cd0d2b13e0a00b91280d0d /tools/perf/scripts/python/export-to-sqlite.py
parent7ba9bdcb91f694b0eaf486a825afd9c2d99532b7 (diff)
downloadlinux-19ea327544507dbebc1630bc93ea188e4fae94bb.tar.xz
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 <swboyd@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20200620022233.64716-2-swboyd@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions