]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt286: check regmap_read result for ID check
authorBard Liao <bardliao@realtek.com>
Tue, 24 Mar 2015 01:51:12 +0000 (09:51 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 24 Mar 2015 15:56:13 +0000 (08:56 -0700)
commit84c0ef6af44294fd0fbe87ea9274f593ae73a861
tree09c471bea9d2cf97c7575a9bc81f883b9b30b06e
parentd65584b2163c2e20a168d4875c04d769b026475e
ASoC: rt286: check regmap_read result for ID check

It is worth to check the regmap_read result for ID check since it
is the first regmap_read. And we can check if there is any i2c
issue.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt286.c