summaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-03-20 03:42:13 +0100
committerMark Brown <broonie@kernel.org>2018-03-21 02:49:26 +0100
commita61aa683655f3182aca6e38404ae9aac03e771ae (patch)
treec75e1cbbd91ebdf93a347472b95a86662e4cd05a /drivers/net/hamradio
parentLinux 4.16-rc1 (diff)
downloadlinux-a61aa683655f3182aca6e38404ae9aac03e771ae.tar.xz
linux-a61aa683655f3182aca6e38404ae9aac03e771ae.zip
spi: sprd: Simplify the transfer function
We can move the hardware spinlock protection into the ADI read/write functions to simplify the sprd_adi_transfer_one() function. Moreover this optimization can also help to access PMIC without considering the hardware spinlock using sprd_adi_read/write() functions. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions