Commit 4de2dc74 authored by Max Filippov's avatar Max Filippov Committed by John W. Linville

p54spi: drop test for FW_STATE_RESET in p54spi_work

Drop test for FW_STATE_RESET in p54spi_work as fw_state
is never assigned this value.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3f0d843b
...@@ -525,8 +525,7 @@ static void p54spi_work(struct work_struct *work) ...@@ -525,8 +525,7 @@ static void p54spi_work(struct work_struct *work)
mutex_lock(&priv->mutex); mutex_lock(&priv->mutex);
if (priv->fw_state == FW_STATE_OFF && if (priv->fw_state == FW_STATE_OFF)
priv->fw_state == FW_STATE_RESET)
goto out; goto out;
ints = p54spi_read32(priv, SPI_ADRS_HOST_INTERRUPTS); ints = p54spi_read32(priv, SPI_ADRS_HOST_INTERRUPTS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment