Эх сурвалжийг харах

touch: raydium: NULL pointer from TOUCH driver

During reboot,disable irq in shutdown and remove callbacks.

Change-Id: Ifb2af617ae0ddffd9598c50320930319c6280e9b
Signed-off-by: Surya Teja Kudiri <[email protected]>
Surya Teja Kudiri 2 жил өмнө
parent
commit
552e89606c

+ 2 - 0
raydium/raydium_driver.c

@@ -2537,6 +2537,7 @@ if (active_panel)
 	raydium_release_sysfs(client);
 #endif /*end of CONFIG_RM_SYSFS_DEBUG*/
 
+	disable_irq(g_raydium_ts->irq);
 	free_irq(client->irq, g_raydium_ts);
 
 	if (gpio_is_valid(g_raydium_ts->rst_gpio))
@@ -2580,6 +2581,7 @@ if (active_panel)
 	raydium_release_sysfs(client);
 #endif /*end of CONFIG_RM_SYSFS_DEBUG*/
 
+	disable_irq(g_raydium_ts->irq);
 	free_irq(client->irq, g_raydium_ts);
 
 	if (gpio_is_valid(g_raydium_ts->rst_gpio))