From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH 04/11] mt76x0: usb files Date: Mon, 23 Jul 2018 09:38:35 +0300 Message-ID: <87va96tq1g.fsf@purkki.adurom.net> References: <1530771142-4118-1-git-send-email-sgruszka@redhat.com> <1530771142-4118-5-git-send-email-sgruszka@redhat.com> <20180705150519.GB17524@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <20180705150519.GB17524-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> (Lorenzo Bianconi's message of "Thu, 5 Jul 2018 17:05:20 +0200") Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lorenzo Bianconi Cc: Stanislaw Gruszka , linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Felix Fietkau , Hans Ulli Kroll , Jakub Kicinski , Michal Schmidt , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-mediatek@lists.infradead.org Lorenzo Bianconi writes: > On Jul 05, Stanislaw Gruszka wrote: >> Add usb files of mt76x0 driver. >> >> Signed-off-by: Stanislaw Gruszka [...] >> +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? BTW it would really helpful to others if you could edit your quotes. It takes some time to find your oneliner from a 450 line message. -- Kalle Valo