net: qca_spi: Make sure the QCA7000 reset is triggered
authorStefan Wahren <stefan.wahren@i2se.com>
Wed, 18 Jul 2018 06:31:44 +0000 (08:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:19 +0000 (13:09 +0200)
commit7f117d7000ee4c232032212dc9e74c59faa7ab81
treeeb850f4062cdb6c35b8411e9311c0afe662493ba
parentf600a10d05da9d88d4385053997fb7898ed1eca7
net: qca_spi: Make sure the QCA7000 reset is triggered

[ Upstream commit 711c62dfa6bdb4326ca6c587f295ea5c4f7269de ]

In case the SPI thread is not running, a simple reset of sync
state won't fix the transmit timeout. We also need to wake up the kernel
thread.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: ed7d42e24eff ("net: qca_spi: fix transmit queue timeout handling")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/qualcomm/qca_spi.c