Search Linux Wireless

Re: [PATCH] mt76x0: init: intrduce MT_H2M_* definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 29, 2018 at 07:30:32PM +0200, Lorenzo Bianconi wrote:
> Add MT_H2M_BBP_AGENT, MT_H2M_MAILBOX_CSR and MT_H2M_INT_SRC and
> remove magic numbers
> 
>  
>  	/* TODO: Probably not needed */
> -	mt76_wr(dev, 0x7028, 0);
> -	mt76_wr(dev, 0x7010, 0);
> -	mt76_wr(dev, 0x7024, 0);
> -	msleep(10);
> +	mt76_wr(dev, MT_H2M_BBP_AGENT, 0);
> +	mt76_wr(dev, MT_H2M_MAILBOX_CSR, 0);
> +	mt76_wr(dev, MT_H2M_INT_SRC, 0);

The same here, I think this should be just removed.

> +	usleep_range(10000, 20000);

Why this change ?

Thanks
Stanislaw



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux