ASoC: uda1380: Return proper error in uda1380_modinit failure path
authorAxel Lin <axel.lin@gmail.com>
Sun, 4 Dec 2011 11:35:20 +0000 (19:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Dec 2011 23:47:15 +0000 (23:47 +0000)
commitef1497707c69f3805bbca97c5d10c2913b6d2fa1
tree4ca9308a54f26182ead04a136613a36528c34558
parent36d54dc0c893b143748bcf13a1e3b7a00696115d
ASoC: uda1380: Return proper error in uda1380_modinit failure path

Return proper error for uda1380_modinit if i2c_add_driver() fails.

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