summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8983.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-09-04 15:54:47 +0200
committerMark Brown <broonie@kernel.org>2017-09-04 15:45:09 +0100
commitf31877a16b0926dea4d1d9b72917a3eca9be19b6 (patch)
tree863552d36b7449431680f4f17226168c802694be /sound/soc/codecs/wm8983.c
parent83ef26ac1326fdd2fc8d160967cdca2e8b46ccd4 (diff)
downloadop-kernel-dev-f31877a16b0926dea4d1d9b72917a3eca9be19b6.zip
op-kernel-dev-f31877a16b0926dea4d1d9b72917a3eca9be19b6.tar.gz
ASoC: cs43130: Fix possible Oops with invalid dev_id
As compiler spotted out, there is the potential NULL-dereference in the code when dc-measure OF is given for other than 43130/43131: sound/soc/codecs/cs43130.c:2089:18: warning: ‘hpload_seq’ may be used uninitialized in this function [-Wmaybe-uninitialized] Warn it and return before triggering Oops. Fixes: 8f1e5bf9b440 ("ASoC: cs43130: Add support for CS43130 codec") Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8983.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud