]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5663: Change the dev getting function in rt5663_irq
authoroder_chiou@realtek.com <oder_chiou@realtek.com>
Mon, 25 Sep 2017 03:11:05 +0000 (11:11 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 25 Sep 2017 16:08:59 +0000 (17:08 +0100)
commit51d16470cfbcb9d40e2cf87abbf4d1fed8e3dcb6
treed42765f0cf1ab760242d1d0d630e4dfc2285fbbe
parent2018862bdad13479b663e0e9615d7c6fcaa89285
ASoC: rt5663: Change the dev getting function in rt5663_irq

In the irq handler "rt5663_irq", while the codec is not initialized,
rt5663->codec will be null, and it will cause the kernel panic in the debug
print enabled.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5663.c