Re: [PATCH] Input: ads7846 - ratelimit the spi_sync error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/8/24 11:39 PM, Dmitry Torokhov wrote:
On July 8, 2024 2:18:57 PM PDT, Marek Vasut <marex@xxxxxxx> wrote:
In case the touch controller is not connected, this message keeps scrolling
on the console indefinitelly. Ratelimit it to avoid filling kernel logs.

Instead of ratelimiting, maybe we should try reading touchscreen state when
probing and abort if the device dies not respond?

Ratelimiting also helps if the touch controller fails or disconnects at runtime, which would still trigger the scrolling messages. With this cheap prototype hardware, that happens.




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux