ASoC: qcom: sc7180: initialize the "no_headphone" variable
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 16 Nov 2020 12:59:50 +0000 (15:59 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2020 20:03:33 +0000 (20:03 +0000)
commit7141f25f14e03a0b049ffb2010b12abf652a10f3
treea66422b042b6ed5d338bbdbfee34386b3dc506fa
parent85288b3bf1dbe6d03ca2597791ef97507597532d
ASoC: qcom: sc7180: initialize the "no_headphone" variable

The "no_headphone" variable is never set to "false" so it could be
uninitialized.

Fixes: e936619b7ce7 ("ASoC: qcom: sc7180: Modify machine driver for sound card")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201116125950.GA44063@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sc7180.c