ASoC: max98925: Return proper error if revision mismatch
authorAxel Lin <[email protected]>
Fri, 13 Oct 2017 01:21:01 +0000 (09:21 +0800)
committerMark Brown <[email protected]>
Fri, 13 Oct 2017 01:30:56 +0000 (02:30 +0100)
commitd6e18b8295593d8f59e92f6634577cbacae14629
tree994feebcaef313d80ddc3c36425367c9acc9396d
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
ASoC: max98925: Return proper error if revision mismatch

Return proper error instead of 0 if the revision does not match.

Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/max98925.c