summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mpc512x-psc.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2020-09-13 00:08:00 +0300
committerMark Brown <broonie@kernel.org>2020-09-14 17:50:13 +0300
commit14ac4e049dc1183440960f177b60b54357e54d90 (patch)
treea3e09c8c7af9000e1b4e947945e3b2a5035213c0 /drivers/spi/spi-mpc512x-psc.c
parentfc129a43aa2705770dc45b2e9c506d2617fd5863 (diff)
downloadlinux-14ac4e049dc1183440960f177b60b54357e54d90.tar.xz
spi: spi-geni-qcom: Don't program CS_TOGGLE again and again
We always toggle the chip select manually in spi-geni-qcom so that we can properly implement the Linux API. There's no reason to program this to the hardware on every transfer. Program it once at init and be done with it. This saves some part of a microsecond of overhead on each transfer. While not really noticeable on any real world benchmarks, we might as well save the time. Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20200912140730.2.I33e571179986850b4ec17042e813d0b08fb1b9c1@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mpc512x-psc.c')
0 files changed, 0 insertions, 0 deletions