mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: simple-card: cleanup asoc_simple_card_parse_of() code
@ 2013-12-27  3:14 Xiubo Li
  2013-12-30 12:11 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Xiubo Li @ 2013-12-27  3:14 UTC (permalink / raw)
  To: lgirdwood, broonie, perex
  Cc: shawn.guo, kuninori.morimoto.gx, fabio.estevam, alsa-devel, linux-kernel

Since there is only one common format via "simple-audio-card,format"
for simple card driver(CPU & CODEC DAI), there is no need to do the
INV mask.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
---
 sound/soc/generic/simple-card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index d340320..8189e68 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -135,7 +135,7 @@ static int asoc_simple_card_parse_of(struct device_node *node,
 
 	/* get CPU/CODEC common format via simple-audio-card,format */
 	info->daifmt = snd_soc_of_parse_daifmt(node, "simple-audio-card,") &
-		(SND_SOC_DAIFMT_FORMAT_MASK | SND_SOC_DAIFMT_INV_MASK);
+		SND_SOC_DAIFMT_FORMAT_MASK;
 
 	ret = asoc_simple_card_get_component(node, info);
 	if (ret)
-- 
1.8.4



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-02  9:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-27  3:14 [PATCH] ASoC: simple-card: cleanup asoc_simple_card_parse_of() code Xiubo Li
2013-12-30 12:11 ` Mark Brown
2013-12-31  1:35   ` Li.Xiubo
2013-12-31  1:41   ` Li.Xiubo
2013-12-31  3:27   ` Li.Xiubo
2013-12-31 12:20     ` Mark Brown
2014-01-02  9:26       ` Li.Xiubo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®