]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:19:08 +0000 (15:19 -0700)
commit711c62dfa6bdb4326ca6c587f295ea5c4f7269de
treead148d12e6286a897cde383930b9c1cfbb21a3de
parentb2bab426dc715de147f8039a3fccff27d795f4eb
net: qca_spi: Make sure the QCA7000 reset is triggered

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>
drivers/net/ethernet/qualcomm/qca_spi.c