soc: qcom: smd: Reset rx tail rather than tx
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 26 Aug 2016 21:59:17 +0000 (14:59 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 1 Sep 2016 19:19:50 +0000 (14:19 -0500)
commit4e21a95d7fbc526d35d860ec34c468e04f53672f
treeb643403059e6260451586c75ca74fd531d03b4b6
parentda0573026c2d3d445c39385024bfc3ce6beebe09
soc: qcom: smd: Reset rx tail rather than tx

The local end of each SMD channel is responsible for updating the tx
head and the rx tail, as such we should not touch the tx tail during a
reset.

Reported-by: Jeremy McNicoll <jmcnicol@redhat.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smd.c