spi/pl022: only enable RX interrupts when TX is complete
authorChris Blair <chris.blair@stericsson.com>
Sat, 4 Jun 2011 06:57:47 +0000 (07:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Dec 2011 16:16:07 +0000 (17:16 +0100)
commit172289df4004cccf798316b19cc3e6284dbe901f
treeee82043bd2a819a81416730ba7ac2c882bbb311c
parentcaca6a03d365883564885f2c1da3e88dcf65d139
spi/pl022: only enable RX interrupts when TX is complete

For interrupt mode transfers, start with only TX interrupts enabled
to reduce the overall number of interrupts received. Once TX is
complete, enable RX interrupts to complete the transfer.

Reviewed-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c
This page took 0.027418 seconds and 5 git commands to generate.