]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
spi/dw_spi: add a FIFO depth detection
authorFeng Tang <feng.tang@intel.com>
Thu, 21 Jan 2010 02:41:10 +0000 (10:41 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 21 Jan 2010 14:15:27 +0000 (07:15 -0700)
commitc587b6fa05106606053fc5e8e344f07cd34ace23
tree7666161b7df6cf56b067c7238f381111eef10153
parent99147b5c4167612a987860b661b9f8b79e66b81f
spi/dw_spi: add a FIFO depth detection

FIFO depth is configurable for each implementation of DW core,
so add a depth detection for those interface drivers who don't set
the fifo_len explicitly

Signed-off-by: Feng Tang <feng.tang@intel.com>
Acked-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/dw_spi.c