public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: linux-media@vger.kernel.org
Cc: laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi,
	kyungmin.park@samsung.com, a.hajda@samsung.com
Subject: Re: [RFC PATCH v3 1/2] media: Add a function removing all links of a media entity
Date: Tue, 11 Jun 2013 13:44:31 +0200	[thread overview]
Message-ID: <51B70D9F.9010005@samsung.com> (raw)
In-Reply-To: <1370876070-23699-3-git-send-email-s.nawrocki@samsung.com>

On 06/10/2013 04:54 PM, Sylwester Nawrocki wrote:
> +void media_entity_remove_links(struct media_entity *entity)
> +{
> +	/* Do nothing if the entity is not registered. */
> +	if (entity->parent == NULL)
> +		return;
> +
> +	mutex_lock(&entity->parent->graph_mutex);
> +	__media_entity_remove_links(entity);
> +	mutex_lock(&entity->parent->graph_mutex);

And this bug snicked in again during rebase, I've noticed this yesterday,
after posting and more testing. I'll keep it corrected locally, unless
there is v4 needed.

Regards,
Sylwester

  reply	other threads:[~2013-06-11 11:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 14:54 [RFC PATCH v3 0/2] Media entity links handling Sylwester Nawrocki
2013-06-10 14:54 ` Sylwester Nawrocki
2013-06-11 10:50   ` Sakari Ailus
2013-06-11 10:50     ` [RFC PATCH 1/2] smiapp: Clean up media entity after unregistering subdev Sakari Ailus
2013-06-11 10:50       ` [RFC PATCH 2/2] davinci_vpfe: " Sakari Ailus
2013-06-11 11:38         ` Sylwester Nawrocki
2013-06-12  4:44         ` Prabhakar Lad
2013-06-16 21:16           ` Sylwester Nawrocki
2013-06-17  8:07             ` Prabhakar Lad
2013-06-17 20:43             ` Sakari Ailus
2013-06-11 11:38       ` [RFC PATCH 1/2] smiapp: " Sylwester Nawrocki
2013-06-11 11:36     ` [RFC PATCH v3 0/2] Media entity links handling Sylwester Nawrocki
2013-06-10 14:54 ` [RFC PATCH v3 1/2] media: Add a function removing all links of a media entity Sylwester Nawrocki
2013-06-11 11:44   ` Sylwester Nawrocki [this message]
2013-06-10 14:54 ` [RFC PATCH v3 2/2] V4L: Remove all links of a media entity when unregistering subdev Sylwester Nawrocki

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=51B70D9F.9010005@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=a.hajda@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@iki.fi \
    /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