diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-09-08 13:14:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-10 12:56:42 +0200 |
commit | 88a60e552f114ae34796604575239fb196658067 (patch) | |
tree | 6c00c2cee836d509b7b843db97d33b2645b3b718 /Kconfig | |
parent | ASoC: simple-card: Adjust the comments of simple card. (diff) | |
download | linux-88a60e552f114ae34796604575239fb196658067.tar.xz linux-88a60e552f114ae34796604575239fb196658067.zip |
ASoC: simple-card: fix regression in clock rate lookup
Commit 7c7b9cf53d284f ("ASoC: simple-card: fixup cpu_dai_name
clear case") changed the way that "sound-dai" properties are handled,
which leads to the clock frequency not being picked up from the
node that the phandle points to, as correctly identified by gcc
with this warning:
sound/soc/generic/simple-card.c: In function 'asoc_simple_card_sub_parse_of':
sound/soc/generic/simple-card.c:165:7: warning: 'node' may be used uninitialized in this function [-Wmaybe-uninitialized]
This restores the previous behavior by using the node from
of_parse_phandle_with_args() that was previously being
returned from of_parse_phandle().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions