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)
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>

No differences found