Re: [PATCH 1/1] mt76: mt7921: get rid of mcu_reset function pointer

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

 



On Fri, Jul 09, 2021 at 03:07:19PM +0800, Deren Wu wrote:
> From: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
> 
> [ Upstream commit d43b3257621dfe57c71d875afd3f624b9a042fc5 ]
> 
> since mcu_reset it used only by mt7921, move the reset callback to
> mt7921_mcu_parse_response routine and get rid of the function pointer.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
> Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>
> Link: https://lore.kernel.org/linux-wireless/364293ec8609dd254067d8173c1599526ffd662c.1619000828.git.lorenzo@xxxxxxxxxx/
> Signed-off-by: Deren Wu <deren.wu@xxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: f92f81d35ac2 mt76: mt7921: check mcu returned values in mt7921_start
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: d32464e68ffc mt76: mt7921: introduce mt7921_run_firmware utility routine.
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: 1f7396acfef4 mt76: mt7921: introduce __mt7921_start utility routine
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: 3990465db682 mt76: dma: introduce mt76_dma_queue_reset routine
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: c001df978e4c mt76: dma: export mt76_dma_rx_cleanup routine
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: 0c1ce9884607 mt76: mt7921: add wifi reset support
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12: e513ae49088b mt76: mt7921: abort uncompleted scan by wifi reset
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.12
> ---
>  drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

All now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux