diff options
author | Luciano Coelho <coelho@ti.com> | 2011-12-01 12:14:48 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-12-01 12:14:48 +0200 |
commit | e4da3fbfbd1de56d2367653e3823e6445e49f8a9 (patch) | |
tree | f69f424f731b89a75f881967903ff2f38f4b6a92 /drivers/net/wireless/p54/p54spi.c | |
parent | b693289406f0b8ca70ab77e745be6196d5740eb0 (diff) | |
parent | ba5736a5e9ac20c378ae4179e8a0ed3cc4b44351 (diff) | |
download | blackbird-op-linux-e4da3fbfbd1de56d2367653e3823e6445e49f8a9.tar.gz blackbird-op-linux-e4da3fbfbd1de56d2367653e3823e6445e49f8a9.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into wl12xx-next
Diffstat (limited to 'drivers/net/wireless/p54/p54spi.c')
-rw-r--r-- | drivers/net/wireless/p54/p54spi.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/p54/p54spi.c b/drivers/net/wireless/p54/p54spi.c index f18df82eeb92..546551389a1d 100644 --- a/drivers/net/wireless/p54/p54spi.c +++ b/drivers/net/wireless/p54/p54spi.c @@ -581,11 +581,7 @@ static void p54spi_op_stop(struct ieee80211_hw *dev) struct p54s_priv *priv = dev->priv; unsigned long flags; - if (mutex_lock_interruptible(&priv->mutex)) { - /* FIXME: how to handle this error? */ - return; - } - + mutex_lock(&priv->mutex); WARN_ON(priv->fw_state != FW_STATE_READY); cancel_work_sync(&priv->work); @@ -703,7 +699,6 @@ static int __devexit p54spi_remove(struct spi_device *spi) static struct spi_driver p54spi_driver = { .driver = { .name = "p54spi", - .bus = &spi_bus_type, .owner = THIS_MODULE, }, |