]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Jul 2024 04:10:25 +0000 (21:10 -0700)
commitccbfea78adf75d3d9e87aa739dab83254f5333fa
tree57b0214444b48a03170a68a4a7682353e1c433ac
parenta23e1966932464e1c5226cb9ac4ce1d5fc10ba22
Input: ads7846 - ratelimit the spi_sync error message

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>
drivers/input/touchscreen/ads7846.c