1. NAME

spi_sync_transfer - synchronous SPI data transfer

2. SYNOPSIS

int spi_sync_transfer(struct spi_device *  spi , struct spi_transfer *  xfers , unsigned int  num_xfers );

3. ARGUMENTS

spi
    device with which data will be exchanged

xfers
    An array of spi_transfers

num_xfers
    Number of items in the xfer array

4. CONTEXT

can sleep

5. DESCRIPTION

Does a synchronous SPI data transfer of the given spi_transfer array.

For more specific semantics see spi_sync.

It returns zero on success, else a negative error code.

6. COPYRIGHT