ASoC: davinci: check kzalloc() result (typo)
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:16:17 +0000 (20:16 +0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 17 Jul 2010 18:45:56 +0000 (19:45 +0100)
commit55938b106ff4028f9e8b23b1bcb16d7cd615bee7
tree637b3e12928d1268b3a3aaba0076a44f2e70ae85
parent3c2ef841c0e27f37923ed15dc5d744cd6ba704ae
ASoC: davinci: check kzalloc() result (typo)

The code checks 'davinci_vc' after kzalloc() and do not checks
'davinci_vcif_dev' that kzalloc() result is assigned to. It seems that
it is a typo (autocompletion?).

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-vcif.c