On Thu, Jul 05, 2018 at 05:05:20PM +0200, Lorenzo Bianconi wrote: > > +static int mt76x0_suspend(struct usb_interface *usb_intf, pm_message_t > > state) > > +{ > > + struct mt76x0_dev *dev = usb_get_intfdata(usb_intf); > > + > > + mt76x0_cleanup(dev); > > Is it necessary to deallocate rx queue here in case of a system suspend? >
It's not optimal, but allow to utilize initialization and cleanup routines in resume/suspend. Regards. Stanislaw