/* returns : mcu output on success : %-ETIMEDOUT on timeout  */
int jornada_ssp_byte(u8 byte)
/* returns : mcu output on success : %-ETIMEDOUT on timeout  */
int jornada_ssp_byte(u8 byte)
{
	int timeout = 400000;
	u16 ret;
	while ((GPLR & GPIO_GPIO10)) {
		if (!--timeout) {
			printk(KERN_WARNING "SSP: timeout while waiting for transmit\n");
			return -ETIMEDOUT;
		}
		cpu_relax();
	}
	ret = jornada_ssp_reverse(byte) << 8;
	ssp_write_word(ret);
	ssp_read_word(&ret);
	return jornada_ssp_reverse(ret);
}