LKML Archive on
help / color / mirror / Atom feed
From: Dan Carpenter <>
To: Salah Triki <>
Cc: Greg Kroah-Hartman <>,
	Fabio Aiuto <>,
	Ross Schmidt <>,
	Marco Cesati <>,
	Brother Matthew De Angelis <>,
	"Gustavo A. R. Silva" <>,
	Ivan Safonov <>,,
Subject: Re: [PATCH v2] tablet: acecad: update the reference count of the usb interface structure
Date: Wed, 4 Aug 2021 14:03:13 +0300	[thread overview]
Message-ID: <20210804110313.GF1931@kadam> (raw)
In-Reply-To: <20210731160938.GA909566@pc>

On Sat, Jul 31, 2021 at 05:09:38PM +0100, Salah Triki wrote:
> Based on the following documentation usb_get_inf(), use usb_get_intf()
> and usb_put_intf() in order to update the reference count of the usb
> interface structure.
> Documentation of usb_get_inf():
> [quote]
> Each live reference to a interface must be refcounted.
> Drivers for USB interfaces should normally record such references
> in their probe methods, when they bind to an interface, and release them
> by calling usb_put_intf, in their disconnect methods.
> [/quote]
> Signed-off-by: Salah Triki <>

Also add a Fixes tag.

dan carpenter

      parent reply	other threads:[~2021-08-04 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 16:09 Salah Triki
2021-08-04 10:58 ` Dan Carpenter
2021-08-04 12:03   ` Greg Kroah-Hartman
2021-08-04 11:03 ` Dan Carpenter [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210804110313.GF1931@kadam \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v2] tablet: acecad: update the reference count of the usb interface structure' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).