From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: rkardell <rkardell@mida.se>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: dvb: Solve problem with Terratec cinergyT2 when removed and reconnected, or after sleep.
Date: Fri, 19 Nov 2021 16:19:10 +0000 [thread overview]
Message-ID: <20211119161910.6cb3b37a@sal.lan> (raw)
In-Reply-To: <ad0a926e-8c5f-eed7-5c3a-96453915ea09@mida.se>
Em Wed, 6 Oct 2021 22:39:29 +0200
rkardell <rkardell@mida.se> escreveu:
> Module used count is incremented 1 time but decremented 2 times by
> dvb_frontend.
> This patch inhibit module used count to go to -1.
Same problems of your previous patch:
- utf8 "\xA0" does not map to Unicode
- your SoB/From doesn't contain your name.
>
>
> Signed-off-by: rkl099 <rkardell@mida.se>
> ---
> drivers/media/usb/dvb-usb/cinergyT2-core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/usb/dvb-usb/cinergyT2-core.c
> b/drivers/media/usb/dvb-usb/cinergyT2-core.c
> index 23f1093d2..56f58b3f9 100644
> --- a/drivers/media/usb/dvb-usb/cinergyT2-core.c
> +++ b/drivers/media/usb/dvb-usb/cinergyT2-core.c
> @@ -69,6 +69,7 @@ static int cinergyt2_frontend_attach(struct
> dvb_usb_adapter *adap)
> struct cinergyt2_state *st = d->priv;
> int ret;
>
> + try_module_get(THIS_MODULE);
> adap->fe_adap[0].fe = cinergyt2_fe_attach(adap->dev);
>
> mutex_lock(&d->data_mutex);
prev parent reply other threads:[~2021-11-19 16:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-06 20:39 [PATCH] media: dvb: Solve problem with Terratec cinergyT2 when removed and reconnected, or after sleep rkardell
2021-11-19 16:19 ` Mauro Carvalho Chehab [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=20211119161910.6cb3b37a@sal.lan \
--to=mchehab@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=rkardell@mida.se \
/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.