Back out part of last change to the Arduino Due touchscreen driver

This commit is contained in:
Gregory Nutt
2013-07-03 09:07:01 -06:00
parent 242b459b05
commit 9bd0ede6e0
+3 -7
View File
@@ -416,19 +416,15 @@ int arch_tcinitialize(int minor)
* None * None
* *
* Returned Value: * Returned Value:
* None. * None
* *
****************************************************************************/ ****************************************************************************/
void arch_tcuninitialize(void) void arch_tcuninitialize(void)
{ {
/* No real support for un-initializing the touchscreen XPT2046 device. /* No support for un-initializing the touchscreen XPT2046 device. It will
* Just make sure that interrupts are disabled and that no handler is * continue to run and process touch interrupts in the background.
* attached.
*/ */
sam_gpioirqdisable(SAM_TSC_IRQ);
irq_detach(SAM_TSC_IRQ);
} }
#endif /* CONFIG_ARDUINO_ITHEAD_TFT && CONFIG_SPI_BITBANG && CONFIG_INPUT_ADS7843E */ #endif /* CONFIG_ARDUINO_ITHEAD_TFT && CONFIG_SPI_BITBANG && CONFIG_INPUT_ADS7843E */