input: Tone down logging from S3C touchscreen driver
Subsystems (3)
PATCH 1/1 input: Tone down logging from S3C touchscreen driver
The S3C touchscreen driver is logging at LOG_INFO on every stylus up event which spams the console needlessly. Reduce the priority of the message to debug level for some peace and quiet.
Signed-off-by Mark Brown <[email protected]>
--- drivers/input/touchscreen/s3c2410_ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/touchscreen/s3c2410_ts.c +1 -1
@@ -173,7 +173,7 @@ static irqreturn_t stylus_irq(int irq, void *dev_id)if (down)s3c_adc_start (ts.client,0 ,1 << ts.shift);else -dev_info (ts.dev,"%s: count=%d\n" , __func__, ts.count); +dev_dbg (ts.dev,"%s: count=%d\n" , __func__, ts.count);if (ts.features &FEAT_PEN_IRQ ) {/* Clear pen down/up interrupt */
Signature · 1 line
1.7.1
Quoted 5 lines · Mark Brown
The S3C touchscreen driver is logging at
LOG_INFOon every stylus up event which spams the console needlessly. Reduce the priority of the message to debug level for some peace and quiet.Signed-off-by Mark Brown <[email protected]>
Applied, thank you Mark.
Quoted 20 lines
--- drivers/input/touchscreen/s3c2410_ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/input/touchscreen/s3c2410_ts.c +1
-1@@ -173,7 +173,7 @@ static irqreturn_t stylus_irq(int irq, void *dev_id)if (down)s3c_adc_start (ts.client,0 ,1 << ts.shift);else -dev_info (ts.dev,"%s: count=%d\n" , __func__, ts.count); +dev_dbg (ts.dev,"%s: count=%d\n" , __func__, ts.count);if (ts.features &FEAT_PEN_IRQ ) {/* Clear pen down/up interrupt */ Signature · 1 line
1.7.1
Signature · 1 line
Dmitry
Quoted 5 lines · Mark Brown
The S3C touchscreen driver is logging at
LOG_INFOon every stylus up event which spams the console needlessly. Reduce the priority of the message to debug level for some peace and quiet.Signed-off-by Mark Brown <[email protected]>
Acekd-by Ben Dooks <[email protected]>
Quoted 20 lines
--- drivers/input/touchscreen/s3c2410_ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/input/touchscreen/s3c2410_ts.c +1
-1@@ -173,7 +173,7 @@ static irqreturn_t stylus_irq(int irq, void *dev_id)if (down)s3c_adc_start (ts.client,0 ,1 << ts.shift);else -dev_info (ts.dev,"%s: count=%d\n" , __func__, ts.count); +dev_dbg (ts.dev,"%s: count=%d\n" , __func__, ts.count);if (ts.features &FEAT_PEN_IRQ ) {/* Clear pen down/up interrupt */ Signature · 1 line
1.7.1
Signature · 5 lines
-- Ben Q: What's a light-year? A: One-third less calories than a regular year.