Files
twx-linux/sound
Dan Carpenter 7be3b27f41 ASoC: Intel: Skylake: Uninitialized variable in probe_codec()
[ Upstream commit e6a33532af ]

My static checker complains that if snd_hdac_bus_get_response() returns
-EIO then "res" is uninitialized.  Fix this by initializing it to -1 so
that the error is handled correctly.

Fixes: d8c2dab838 ("ASoC: Intel: Add Skylake HDA audio driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 10:58:43 +01:00
..
…
…
2018-01-02 20:33:22 +01:00
…
…
…
…
…
…
…
…