diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-02-21 10:42:28 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-21 11:39:00 +0000 |
commit | 3af8160028bfac4116d80edcb7eb04095323d112 (patch) | |
tree | 4bd7dd8bfd1b11430e825a9a96efaaabd20387be /fs/open.c | |
parent | 70b773219a32c7b8f3e53e041bc023ad99fd81f4 (diff) | |
download | linux-3af8160028bfac4116d80edcb7eb04095323d112.tar.bz2 |
ASoC: samsung: odroid: Prevent uninitialized variable use
This addresses an issue pointed out by compiler warning:
sound/soc/samsung/odroid.c: In function ‘odroid_audio_probe’:
sound/soc/samsung/odroid.c:298:22: warning: ‘cpu_dai’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
priv->clk_i2s_bus = of_clk_get_by_name(cpu_dai, "iis");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions