ASoC: ak4642: Add default return value in ak4642_modinit
commit1cf86f6f9b000e98c1b7f866f99633ae67464e2f
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Tue, 15 Dec 2009 06:54:21 +0000 (15 15:54 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 15 Dec 2009 14:54:01 +0000 (15 14:54 +0000)
tree7d0d3b614891576b1cacc60b02b17c4f8497a3c8
parentbc2580061e42c323d7777029f01318f395edac0d
ASoC: ak4642: Add default return value in ak4642_modinit

If ak4642 driver was compiled without I2C configs,
ak4642_modinit return value will become un-stable.
This patch modify this bug

Reported-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ak4642.c