All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	Simon <horms@verge.net.au>
Subject: Re: [PATCH 2/3] ASoC: add snd_soc_card_disconnect_sync()
Date: Wed, 11 Oct 2017 09:42:52 +0100	[thread overview]
Message-ID: <20171011084252.awkhvhpuubj4gdvy@sirena.co.uk> (raw)
In-Reply-To: <87bmlep58s.wl%kuninori.morimoto.gx@renesas.com>


[-- Attachment #1.1: Type: text/plain, Size: 453 bytes --]

On Wed, Oct 11, 2017 at 06:37:06AM +0000, Kuninori Morimoto wrote:

> +void snd_soc_card_disconnect_sync(struct device *dev)
> +{
> +	struct snd_soc_component *component = snd_soc_lookup_component(dev, NULL);
> +
> +	if (!component || !component->card)
> +		return;
> +
> +	snd_card_disconnect_sync(component->card->snd_card);

Is this the right name for ASoC or should it just be
snd_soc_disconnect_sync()?  It'll work for any device that's in a card.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2017-10-11  8:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11  6:33 [PATCH 0/3] ALSA: add snd_card_disconnect_sync() Kuninori Morimoto
2017-10-11  6:36 ` [PATCH 1/3] " Kuninori Morimoto
2017-10-11  7:33   ` Takashi Iwai
2017-10-11  7:51     ` Kuninori Morimoto
2017-10-11  6:37 ` [PATCH 2/3] ASoC: add snd_soc_card_disconnect_sync() Kuninori Morimoto
2017-10-11  8:42   ` Mark Brown [this message]
2017-10-11  8:47     ` Kuninori Morimoto
2017-10-11  6:37 ` [PATCH 3/3] ASoC: rsnd: call snd_soc_card_disconnect_sync() when remove Kuninori Morimoto
2017-10-11  6:56   ` Kuninori Morimoto

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=20171011084252.awkhvhpuubj4gdvy@sirena.co.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=horms@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=tiwai@suse.de \
    /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.