ASoC: cs53l30: Check return value of regcache_sync()
authorNicolin Chen <nicoleotsuka@gmail.com>
Tue, 31 May 2016 23:06:39 +0000 (16:06 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jun 2016 10:16:09 +0000 (11:16 +0100)
commit87a4bb11355f8b59c0d865a96044b5853f6c222e
treecadb3a4cb943d3e8f821183c9b31dc06aebe57cf
parentb97c4446817a88a3e5c85d6eed3e65693588c088
ASoC: cs53l30: Check return value of regcache_sync()

Regcache_sync() might fail. So this patch adds a return value Check for it.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs53l30.c