forked from Minki/linux
f2a5ded385
This fixes kernel panic on boot, if rt5645->codec is NULL when rt5645_jack_detect_work is first called. rt5645_jack_detect_work needs rt5645->codec to be initialized to setup dapm pins. Also, reporting jack events is useless, as the jacks cannot be set before the codec is ready. Since we manually call the interrupt handler in rt5645_set_jack_detect, the initial jack state will be reported correctly, and dapm pins will be setup at that time. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
adi | ||
atmel | ||
au1x | ||
bcm | ||
blackfin | ||
cirrus | ||
codecs | ||
davinci | ||
dwc | ||
fsl | ||
generic | ||
intel | ||
jz4740 | ||
kirkwood | ||
mediatek | ||
mxs | ||
nuc900 | ||
omap | ||
pxa | ||
qcom | ||
rockchip | ||
samsung | ||
sh | ||
sirf | ||
spear | ||
tegra | ||
txx9 | ||
ux500 | ||
xtensa | ||
zte | ||
Kconfig | ||
Makefile | ||
soc-ac97.c | ||
soc-cache.c | ||
soc-compress.c | ||
soc-core.c | ||
soc-dapm.c | ||
soc-devres.c | ||
soc-generic-dmaengine-pcm.c | ||
soc-io.c | ||
soc-jack.c | ||
soc-ops.c | ||
soc-pcm.c | ||
soc-topology.c | ||
soc-utils.c |