From: Greg KH <greg@kroah.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: stable@vger.kernel.org, Arvind Yadav <arvind.yadav.cs@gmail.com>,
Andrey Konovalov <andreyknvl@google.com>,
Hans Verkuil <hans.verkuil@cisco.com>,
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Subject: Re: [PATCH stable v4.4] media: hdpvr: Fix an error handling path in hdpvr_probe()
Date: Mon, 15 Mar 2021 10:25:33 +0100 [thread overview]
Message-ID: <YE8oDRvktU6GOLD6@kroah.com> (raw)
In-Reply-To: <20210315083943.11685-1-krzysztof.kozlowski@canonical.com>
On Mon, Mar 15, 2021 at 09:39:43AM +0100, Krzysztof Kozlowski wrote:
> From: Arvind Yadav <arvind.yadav.cs@gmail.com>
>
> commit c0f71bbb810237a38734607ca4599632f7f5d47f upstream.
>
> Here, hdpvr_register_videodev() is responsible for setup and
> register a video device. Also defining and initializing a worker.
> hdpvr_register_videodev() is calling by hdpvr_probe at last.
> So no need to flush any work here.
> Unregister v4l2, free buffers and memory. If hdpvr_probe() will fail.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> Reported-by: Andrey Konovalov <andreyknvl@google.com>
> Tested-by: Andrey Konovalov <andreyknvl@google.com>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
> [krzk: backport to v4.4, still using single thread workqueue which
> is drained/destroyed now in proper step so it cannot be NULL]
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>
> ---
>
> Backport needed for v4.4. v4.9 has it already.
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2021-03-15 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 8:39 [PATCH stable v4.4] media: hdpvr: Fix an error handling path in hdpvr_probe() Krzysztof Kozlowski
2021-03-15 9:25 ` Greg KH [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=YE8oDRvktU6GOLD6@kroah.com \
--to=greg@kroah.com \
--cc=andreyknvl@google.com \
--cc=arvind.yadav.cs@gmail.com \
--cc=hans.verkuil@cisco.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=mchehab@s-opensource.com \
--cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.