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)
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>

No differences found