]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: jz4780: silence log flood on txabrt
authorWolfram Sang <wsa@the-dreams.de>
Wed, 12 Feb 2020 09:35:30 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:45:18 +0000 (16:45 +0100)
commite85590f42106cc08cc53a33cad59f36501b2bb93
treef81bc6da2e1b6cc820a8b64f32d56001265cf02e
parent9a50d69d0f78339882e73a2f4f54e91b81f71cd7
i2c: jz4780: silence log flood on txabrt

commit 9e661cedcc0a072d91a32cb88e0515ea26e35711 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-jz4780.c