mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branches 'arm', 'at91', 'bcmring', 'ep93xx', 'mach-types', 'misc' and 'w90x900' into devel
This commit is contained in:
commit
cf7a2b4fb6
1298 changed files with 53846 additions and 14528 deletions
|
|
@ -1313,6 +1313,12 @@ static int mmc_spi_probe(struct spi_device *spi)
|
|||
struct mmc_spi_host *host;
|
||||
int status;
|
||||
|
||||
/* We rely on full duplex transfers, mostly to reduce
|
||||
* per-transfer overheads (by making fewer transfers).
|
||||
*/
|
||||
if (spi->master->flags & SPI_MASTER_HALF_DUPLEX)
|
||||
return -EINVAL;
|
||||
|
||||
/* MMC and SD specs only seem to care that sampling is on the
|
||||
* rising edge ... meaning SPI modes 0 or 3. So either SPI mode
|
||||
* should be legit. We'll use mode 0 since the steady state is 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue