lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <23375d0ac7734f37be9928d6add885f7@BY2PR03MB505.namprd03.prod.outlook.com>
Date:	Mon, 6 Jan 2014 05:41:59 +0000
From:	"Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To:	"broonie@...nel.org" <broonie@...nel.org>,
	"lgirdwood@...il.com" <lgirdwood@...il.com>
CC:	"perex@...ex.cz" <perex@...ex.cz>, "tiwai@...e.de" <tiwai@...e.de>,
	"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
Subject: RE: [PATCH v2] ASoC: soc-core: add snd_soc_of_parse_master_clkdir()
 for dt

Hi

I would like to know the current status of this patch, and there are some
other patches that for simple-card are depended on this one.

Thanks,


--
> This patch adds snd_soc_of_parse_master_clkdir() and supports below
> style on dt:
> 
> master-clkdir-out;
> 
> If this property is absent 0 will be returned, 1 otherwise.
> 0 : SND_SOC_CLOCK_IN
> 1 : SND_SOC_CLOCK_OUT
> 
> Signed-off-by: Xiubo Li <Li.Xiubo@...escale.com>
> ---
>  include/sound/soc.h  |  1 +
>  sound/soc/soc-core.c | 11 +++++++++++
>  2 files changed, 12 insertions(+)
> 
> diff --git a/include/sound/soc.h b/include/sound/soc.h
> index 5a049d9..690f4f6 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -1170,6 +1170,7 @@ int snd_soc_of_parse_card_name(struct snd_soc_card *card,
>  			       const char *propname);
>  int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
>  				   const char *propname);
> +unsigned int snd_soc_of_parse_master_clkdir(struct device_node *np);
>  unsigned int snd_soc_of_parse_daifmt(struct device_node *np,
>  				     const char *prefix);
>  int snd_soc_of_get_dai_name(struct device_node *of_node,
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index be88df5..f155207 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -4472,6 +4472,17 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card
> *card,
>  }
>  EXPORT_SYMBOL_GPL(snd_soc_of_parse_audio_routing);
> 
> +unsigned int snd_soc_of_parse_master_clkdir(struct device_node *np)
> +{
> +	/*
> +	 * check "master-clkdir-out"
> +	 * false means SND_SOC_CLOCK_IN
> +	 * true means SND_SOC_CLOCK_OUT
> +	 */
> +	return !!of_property_read_bool(np, "master-clkdir-out");
> +}
> +EXPORT_SYMBOL_GPL(snd_soc_of_parse_master_clkdir);
> +
>  unsigned int snd_soc_of_parse_daifmt(struct device_node *np,
>  				     const char *prefix)
>  {
> --
> 1.8.4
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ