Input: ads7846 - check proper condition when freeing gpio