beepy
beepy copied to clipboard
Remove excessive logging to dmesg by Sharp Display driver
Remove this logic. It fills up dmesg with unnecessary logs.
https://github.com/sqfmi/Sharp-Memory-LCD-Kernel-Driver/blob/56fc25d3cc0d8d32065b6e54f3901378a1b83dea/sharp.c#L215
int fpsThreadFunction(void* v)
{
while (!kthread_should_stop())
{
msleep(5000);
printk(KERN_DEBUG "FPS sharp : %d\n", fpsCounter);
fpsCounter = 0;
}
return 0;
}
wouldn't it make more sense to filter KERN_DEBUG in linux rather than disable the debug fps logic within the driver?