/*****************************************************************************
Description:
This function is called when the driver interface is closed
/* print some information for debug */
SPI_DBG("start spi_read/n");
val = readw((void *)(spi_char.mem_virt+SPI_STATUS));
SPI_DBG("status=%08x/n", val);
val = readw((void *)(spi_char.mem_virt+SPI_CTRL));
SPI_DBG("ctrl=%08x/n", val);
val = readw((void *)(spi_char.mem_virt+SPI_ADDR));
SPI_DBG("addr=%08x/n", val);
val = readl((void *)(spi_char.mem_virt+SPI_DATA0));
SPI_DBG("data0.0=%08x/n", val);
val = readl((void *)(spi_char.mem_virt+SPI_DATA0+4));
SPI_DBG("data0.1=%08x/n", val);