OSDN Git Service

i2c: jz4780: silence log flood on txabrt
authorWolfram Sang <wsa@the-dreams.de>
Wed, 12 Feb 2020 09:35:30 +0000 (10:35 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 13 Feb 2020 08:24:04 +0000 (09:24 +0100)
commit9e661cedcc0a072d91a32cb88e0515ea26e35711
tree7253eca51b388fb5a3861c52ee4c4437c850d6ee
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
i2c: jz4780: silence log flood on txabrt

The printout for txabrt is way too talkative and is highly annoying with
scanning programs like 'i2cdetect'. Reduce it to the minimum, the rest
can be gained by I2C core debugging and datasheet information. Also,
make it a debug printout, it won't help the regular user.

Fixes: ba92222ed63a ("i2c: jz4780: Add i2c bus controller driver for Ingenic JZ4780")
Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-jz4780.c