/* Set frame size (making an assumption that the supplied size is supported by this controller)  */
static int spi_a2f_hw_bt_set(struct spi_a2f *c, int bt)
/* Set frame size (making an assumption that the supplied size is supported by this controller)  */
static int spi_a2f_hw_bt_set(struct spi_a2f *c, int bt)
{
	int ret = 0;
	writel(~SPI_CONTROL_ENABLE & readl(&MSS_SPI(c)->spi_control),
		&MSS_SPI(c)->spi_control);
	writel(bt, &MSS_SPI(c)->spi_txrxdf_size);
	writel(SPI_CONTROL_ENABLE | readl(&MSS_SPI(c)->spi_control),
		&MSS_SPI(c)->spi_control);
	d_printk(2, "bus=%d,bt=%d,spi_txrxdf_size=%d,ret=%d\n", 
		 c->bus, bt, readl(&MSS_SPI(c)->spi_txrxdf_size), ret);
	return ret;
}