ASoC: atmel: test wrong variable
authorVasiliy Kulikov <segoon@openwall.com>
Mon, 22 Nov 2010 15:59:13 +0000 (18:59 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Nov 2010 20:26:44 +0000 (20:26 +0000)
commitb3915d1fb6557dda206f4644ba9aa96ffd9a99d2
treee65a256f822fe3774d9a714aef55734c1a9fa53a
parent13a2e06c5898d27aadabfdb9830169101b21432f
ASoC: atmel: test wrong variable

After clk_get() mclk is checked second time instead of pllb check.
In patch v1 Jarkko Nikula noticed that PTR_ERR() is also has wrong argument.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/sam9g20_wm8731.c