ASoC: txx9aclc_ac97: Fix kernel crash on probe
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 19:28:29 +0000 (23:28 +0400)
committerMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 00:36:40 +0000 (08:36 +0800)
commit9febd494d15c4a351e9c9cae7184643144eea892
treef01b0ed7b6f3979b6b0cb5151c7cbc119ba51bee
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: txx9aclc_ac97: Fix kernel crash on probe

This patch fixes a crash caused by commit 3bed3344c826
(ASoC: txx9aclc_ac97: Convert to devm_ioremap_resource()).
This is an attempt to assign "drvdata->base" while memory
for "drvdata" is not already allocated.

Fixes: 3bed3344c826 (ASoC: txx9aclc_ac97: Convert to devm_ioremap_resource())
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/txx9/txx9aclc-ac97.c