01 Nov, 2012
1 commit
-
This patch is to implement following 2 places to avoid potential error when IFX6x60 port shutdown:
1) Clear Flag IFX_SPI_STATE_IO_AVAILABLE to disable data transfer when Modem port is shutdown;
2) Clear Flag IFX_SPI_STATE_IO_IN_PROGRESS and IFX_SPI_STATE_IO_READY when reopen port.
This is because last port shutdown may happen when SPI/DMA transfer is in progress, if the last
data transfer is not completed(for example due to modem reset), the Flag IFX_SPI_STATE_IO_IN_PROGRESS
will be set forever, so when IFX port is activated again, IFX_SPI_STATE_IO_IN_PROGRESS will prevent
transferring data forever. And if don't clear IFX_SPI_STATE_IO_READY, it may cause one more SPI frame
transferring in spit there is not data need to be transfer.cc: liu chuansheng
cc: Chen Jun
Signed-off-by: channing
Signed-off-by: Greg Kroah-Hartman
26 Oct, 2012
1 commit
-
SPI protocol driver only provide one function (swap_buf()) to swap SPI
data into big endian format, which is only available when SPI
controller's word width is 16 bits. But word width could be configured
as 8/16/32 bits, different word width configure should be mapped to
different swap methods.This patch is to make SPI protocol driver choose
the right swap function corresponding to SPI word width configuration.cc: liu chuansheng
cc: Chen Jun
Signed-off-by: channing
Signed-off-by: Greg Kroah-Hartman
18 Feb, 2011
1 commit
-
renamed spi_driver variable to not be h/w specific
set driver name to use DRVNAME define
removed commented-out defineSigned-off-by: Russ Gorby
Signed-off-by: Greg Kroah-Hartman
04 Feb, 2011
1 commit
-
Some platform attributes (e.g. max_hz, use_dma) were being intuited
from the modem type. These things should be specified by the platform
data.Added max_hz, use_dma to ifx_modem_platform_data definition,
replaced is_6160 w/ modem_type, and changed clients accordinglySigned-off-by: Russ Gorby
Signed-off-by: Greg Kroah-Hartman
14 Jan, 2011
1 commit
-
The serial drivers are really just tty drivers, so move them to
drivers/tty/ to make things a bit neater overall.This is part of the tty/serial driver movement proceedure as proposed by
Arnd Bergmann and approved by everyone involved a number of months ago.Cc: Arnd Bergmann
Cc: Alan Cox
Cc: Geert Uytterhoeven
Cc: Rogier Wolff
Cc: Michael H. Warfield
Signed-off-by: Greg Kroah-Hartman