ASoC: Fix NULL pointer dereference in __pxa2xx_pcm_hw_free
commitb7d4de7ff03085fda8310b2983b907166dd40f43
authorDaniel Mack <daniel@caiaq.de>
Wed, 8 Jul 2009 17:24:26 +0000 (8 19:24 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Jul 2009 09:36:19 +0000 (9 10:36 +0100)
tree2bc8e6ed52465b9f93f5069b7812867dca86b79e
parent637a935aaba2f05e2178c9d1b714d7a2c36c8b44
ASoC: Fix NULL pointer dereference in __pxa2xx_pcm_hw_free

Check for rtd->params->drcmr != NULL before accessing it.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/arm/pxa2xx-pcm-lib.c