Skip to content

Commit

Permalink
[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data
Browse files Browse the repository at this point in the history
After commit a7bb390 ("spi: pxa2xx_spi:
introduce chipselect GPIO to simplify the common cases") the .gpio_cs
field in pxa2xx_spi_chip has to be set explicitly.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Mike Rapoport authored and Eric Miao committed Apr 14, 2009
1 parent efb12cd commit bd9d074
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/arm/mach-pxa/em-x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,9 @@ static struct pxa2xx_spi_master em_x270_spi_info = {
};

static struct pxa2xx_spi_chip em_x270_tdo24m_chip = {
.rx_threshold = 1,
.tx_threshold = 1,
.rx_threshold = 1,
.tx_threshold = 1,
.gpio_cs = -1,
};

static struct tdo24m_platform_data em_x270_tdo24m_pdata = {
Expand Down

0 comments on commit bd9d074

Please sign in to comment.