projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7307f29
)
mt76: mt76x02: remove check in mt76x02_mcu_msg_send
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Fri, 15 May 2020 17:05:59 +0000
(19:05 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 28 May 2020 15:55:29 +0000
(17:55 +0200)
mt76x02_mcu_msg_send is run just by mmio code so get rid of
mt76_is_mmio() check
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
b/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
index
89a8992
..
2670580
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
@@
-20,7
+20,7
@@
int mt76x02_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data,
int ret;
u8 seq;
- if (
mt76_is_mmio(&dev->mt76) &&
dev->mcu_timeout)
+ if (dev->mcu_timeout)
return -EIO;
skb = mt76_mcu_msg_alloc(mdev, data, len);