ASoC: playpaq_wm8510: Return proper error if clk_get fails
authorAxel Lin <axel.lin@gmail.com>
Fri, 9 Sep 2011 02:15:37 +0000 (10:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 9 Sep 2011 16:42:00 +0000 (09:42 -0700)
commit694741471b8df3734e01ecae7650be60ec111c2c
tree53c3a7e5d87d1e79740626ea551567421d8a4fbc
parent283e42e0114aba331b0055839f6277a4a7cfbc64
ASoC: playpaq_wm8510: Return proper error if clk_get fails

Return proper error instead of 0 if clk_get fails.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/playpaq_wm8510.c