Re: [PATCH v2] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-13 Thread Felix Fietkau
On 2018-11-13 20:45, Felix Fietkau wrote: > On 2018-11-09 11:56, Stanislaw Gruszka wrote: >> We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is used >> for do additional MT_MCU_COM_REG0 register operations, which are needed >> for mt76x2e devices and we can use appropriate

Re: [PATCH v2] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-13 Thread Felix Fietkau
On 2018-11-09 11:56, Stanislaw Gruszka wrote: > We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is used > for do additional MT_MCU_COM_REG0 register operations, which are needed > for mt76x2e devices and we can use appropriate check instead of wait argument. > >

Re: [PATCH v2] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-09 Thread Lorenzo Bianconi
> We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is used > for do additional MT_MCU_COM_REG0 register operations, which are needed > for mt76x2e devices and we can use appropriate check instead of wait argument. > > Signed-off-by: Stanislaw Gruszka > --- Reviewed-by:

[PATCH v2] mt76: remove wait argument from mt76x02_mcu_calibrate

2018-11-09 Thread Stanislaw Gruszka
We always wait for CMD_CALIBRATION_OP mcu message, but wait argument is used for do additional MT_MCU_COM_REG0 register operations, which are needed for mt76x2e devices and we can use appropriate check instead of wait argument. Signed-off-by: Stanislaw Gruszka --- v2: use MT_MCU_COM_REG0