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)
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

No differences found