ASoC: cs42l73: Return proper error code if device id mismatch
authorAxel Lin <axel.lin@gmail.com>
Sat, 19 Nov 2011 02:15:53 +0000 (10:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 21 Nov 2011 17:05:52 +0000 (17:05 +0000)
commitea0756158110fef07b2f2975e38890cecde6a1ce
treeaa03afad8e5f36c046a6f037aaca5cef114f34b0
parent6413d542b04800188fd5401d97d141880c638df6
ASoC: cs42l73: Return proper error code if device id mismatch

Return -ENODEV instead of 0 if device id mismatch.

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