From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Chuhong Yuan <hslester96@gmail.com>
Cc: Benson Leung <bleung@chromium.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/chrome: cros_usbpd_logger: add missed destroy_workqueue in remove
Date: Wed, 20 Nov 2019 17:22:58 +0100 [thread overview]
Message-ID: <0d4c340d-7b4f-6efe-7643-97f848fa1f04@collabora.com> (raw)
In-Reply-To: <20191113063821.8896-1-hslester96@gmail.com>
On 13/11/19 7:38, Chuhong Yuan wrote:
> The driver forgets to destroy workqueue in remove.
> Add the missed call to fix it.
>
> Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Applied for 5.5
Thanks,
Enric
> ---
> drivers/platform/chrome/cros_usbpd_logger.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/chrome/cros_usbpd_logger.c b/drivers/platform/chrome/cros_usbpd_logger.c
> index 2430e8b82810..374cdd1e868a 100644
> --- a/drivers/platform/chrome/cros_usbpd_logger.c
> +++ b/drivers/platform/chrome/cros_usbpd_logger.c
> @@ -224,6 +224,7 @@ static int cros_usbpd_logger_remove(struct platform_device *pd)
> struct logger_data *logger = platform_get_drvdata(pd);
>
> cancel_delayed_work_sync(&logger->log_work);
> + destroy_workqueue(logger->log_workqueue);
>
> return 0;
> }
>
prev parent reply other threads:[~2019-11-20 16:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 6:38 [PATCH] platform/chrome: cros_usbpd_logger: add missed destroy_workqueue in remove Chuhong Yuan
2019-11-20 16:22 ` Enric Balletbo i Serra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d4c340d-7b4f-6efe-7643-97f848fa1f04@collabora.com \
--to=enric.balletbo@collabora.com \
--cc=bleung@chromium.org \
--cc=hslester96@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).