]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rl6347a: Use dev_err for I2C communication error prints
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 7 Oct 2016 07:59:51 +0000 (10:59 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 21 Oct 2016 11:03:13 +0000 (12:03 +0100)
commitd7b92269dc3ba4713a28405ce275483fd776a7c6
treed2d11859c3a1656f9686b06087334b6f74e7a789
parenta245803230f587f66ceddc152f3504b2a960aac2
ASoC: rl6347a: Use dev_err for I2C communication error prints

It's difficult to guess from bunch of "ret=-121" errors what driver and
device actually caused them. Since struct i2c_client has the dev pointer
use that for dev_err() with meaningful error message.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6347a.c