diff options
author | Moise Gergaud <moise.gergaud@st.com> | 2015-11-19 16:54:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-19 20:49:35 +0300 |
commit | f9f51973d3a8559731a228e91ac29792b43046a5 (patch) | |
tree | 3dce940a484d9cd520ac81a5f87639e7cf2c9728 /sound/soc/sti/uniperif_reader.c | |
parent | cd3ed08a86e8b5022f107aa72a1929b6417c1f42 (diff) | |
download | linux-f9f51973d3a8559731a228e91ac29792b43046a5.tar.xz |
ASoC: sti: rename ST proprietary DT properties
"st," prefix has been added for ST proprietary DT properties.
Signed-off-by: Moise Gergaud <moise.gergaud@st.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sti/uniperif_reader.c')
-rw-r--r-- | sound/soc/sti/uniperif_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sti/uniperif_reader.c b/sound/soc/sti/uniperif_reader.c index 819eeafdf6b4..8a0eb2050169 100644 --- a/sound/soc/sti/uniperif_reader.c +++ b/sound/soc/sti/uniperif_reader.c @@ -316,7 +316,7 @@ static int uni_reader_parse_dt(struct platform_device *pdev, if (!info) return -ENOMEM; - if (of_property_read_u32(node, "version", &reader->ver) || + if (of_property_read_u32(node, "st,version", &reader->ver) || reader->ver == SND_ST_UNIPERIF_VERSION_UNKNOWN) { dev_err(&pdev->dev, "Unknown uniperipheral version "); return -EINVAL; |