* [PATCH v2] ASoC: soc-core: Fix sparse warning in be32_to_cpup() call
@ 2015-09-17 9:48 Jyri Sarha
0 siblings, 0 replies; only message in thread
From: Jyri Sarha @ 2015-09-17 9:48 UTC (permalink / raw)
To: linux-omap, alsa-devel
Cc: peter.ujfalusi, liam.r.girdwood, broonie, Jyri Sarha
Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
sound/soc/soc-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 1929f0e..af4999c 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3294,7 +3294,7 @@ static int snd_soc_of_get_slot_mask(struct device_node *np,
unsigned int *mask)
{
u32 val;
- const u32 *of_slot_mask = of_get_property(np, prop_name, &val);
+ const __be32 *of_slot_mask = of_get_property(np, prop_name, &val);
int i;
if (!of_slot_mask)
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-17 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17 9:48 [PATCH v2] ASoC: soc-core: Fix sparse warning in be32_to_cpup() call Jyri Sarha
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).