File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
drivers/net/wireless/mediatek/mt76/mt7915 Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2697,7 +2697,7 @@ static int mt7915_driver_own(struct mt7915_dev *dev)
26972697{
26982698 mt76_wr (dev , MT_TOP_LPCR_HOST_BAND0 , MT_TOP_LPCR_HOST_DRV_OWN );
26992699 if (!mt76_poll_msec (dev , MT_TOP_LPCR_HOST_BAND0 ,
2700- MT_TOP_LPCR_HOST_FW_OWN , 0 , 500 )) {
2700+ MT_TOP_LPCR_HOST_FW_OWN_STAT , 0 , 500 )) {
27012701 dev_err (dev -> mt76 .dev , "Timeout for driver own\n" );
27022702 return - EIO ;
27032703 }
Original file line number Diff line number Diff line change 567567#define MT_TOP_LPCR_HOST_BAND0 MT_TOP(0x10)
568568#define MT_TOP_LPCR_HOST_FW_OWN BIT(0)
569569#define MT_TOP_LPCR_HOST_DRV_OWN BIT(1)
570+ #define MT_TOP_LPCR_HOST_FW_OWN_STAT BIT(2)
570571
571572#define MT_TOP_MISC MT_TOP(0xf0)
572573#define MT_TOP_MISC_FW_STATE GENMASK(2, 0)
You can’t perform that action at this time.
0 commit comments