]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: ads7846 - ratelimit the spi_sync error message
authorMarek Vasut <marex@denx.de>
Mon, 8 Jul 2024 21:18:57 +0000 (23:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Sep 2024 17:24:05 +0000 (19:24 +0200)
commit3acb2392df34e8ba6e35fe6ddfcd088fe3aa235b
tree64300e93407555fa259b4b733c307e7ea3c86c58
parent5ee7efa629bfcd86e50548d9c5f611f948e3421d
Input: ads7846 - ratelimit the spi_sync error message

[ Upstream commit ccbfea78adf75d3d9e87aa739dab83254f5333fa ]

In case the touch controller is not connected, this message keeps scrolling
on the console indefinitelly. Ratelimit it to avoid filling kernel logs.

"
ads7846 spi2.1: spi_sync --> -22
"

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20240708211913.171243-1-marex@denx.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/ads7846.c