Skip to content

Instantly share code, notes, and snippets.

View HackerShohag's full-sized avatar
🤤
Lazy

Md. Abdullah Al Mamun HackerShohag

🤤
Lazy
  • Gangachara, Rangpur, Dhaka, Bangladesh
  • 01:16 (UTC +06:00)
  • X @AbdullahLsM
View GitHub Profile
@HackerShohag
HackerShohag / lancelot-novatek-ts-fix.patch
Created December 30, 2025 11:11
Novatek Touchscreen Fix for MediaTek MT6768 Devices (Lancelot)
diff --git a/drivers/input/touchscreen/novatek-nvt-ts-core.c b/drivers/input/touchscreen/novatek-nvt-ts-core.c
index 473e4067cd40..b9f6eb2c945f 100644
--- a/drivers/input/touchscreen/novatek-nvt-ts-core.c
+++ b/drivers/input/touchscreen/novatek-nvt-ts-core.c
@@ -291,9 +291,12 @@ int nvt_ts_probe(struct device *dev, int irq, struct regmap *regmap,
irq_type >= ARRAY_SIZE(nvt_ts_irq_type) ||
data->buf[NVT_TS_PARAMS_WAKE_TYPE] != chip->wake_type ||
data->buf[NVT_TS_PARAMS_CHIP_ID] != chip->chip_id) {
- dev_err(dev, "Unsupported touchscreen parameters: %*ph\n",
+ dev_err(dev, "Unsupported touchscreen parameters: %*ph, ignoring...\n",
@HackerShohag
HackerShohag / LICENSE
Last active October 17, 2023 11:59
Assemble and Compile Script using NASM and GCC
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2023 Abdullah AL Shohag
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.