i2c: bcm2835: Use dev_dbg logging on transfer errors
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 19 Sep 2016 15:19:41 +0000 (17:19 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:51:57 +0000 (17:51 +0000)
commit6a4db7770cb03ad8b5037b6fd316441daa110d20
treef0adfcb9b42af757b820694aad8738037e439977
parentbc84e97ab50364bc820a8f65ec63f08e0b0cd29a
i2c: bcm2835: Use dev_dbg logging on transfer errors

Writing to an AT24C32 generates on average 2x i2c transfer errors per
32-byte page write. Which amounts to a lot for a 4k write. This is due
to the fact that the chip doesn't respond during it's internal write
cycle when the at24 driver tries and retries the next write.
Only a handful drivers use dev_err() on transfer error, so switch to
dev_dbg() instead.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/i2c/busses/i2c-bcm2835.c