/* NOTE: These functions should always be called in interrupt context and use the _lock and _unlock functions. They are very time sensitive.  */
void corgi_ssp_ads7846_lock(void)
/* NOTE: These functions should always be called in interrupt context and use the _lock and _unlock functions. They are very time sensitive.  */
void corgi_ssp_ads7846_lock(void)
{
	spin_lock(&corgi_ssp_lock);
	if (ssp_machinfo->cs_ads7846 >= 0)
		GPCR(ssp_machinfo->cs_ads7846) = GPIO_bit(ssp_machinfo->cs_ads7846);
}