Skip to content

Commit

Permalink
gpio-max7301: bcm2708_gpio only supports 8 bits_per_word
Browse files Browse the repository at this point in the history
Signed-off-by: Franz Pletz <fpletz@fnordicwalking.de>
  • Loading branch information
fpletz committed Sep 7, 2013
1 parent af49353 commit 6ef80df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-max7301.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static int max7301_probe(struct spi_device *spi)


/* bits_per_word cannot be configured in platform data */ /* bits_per_word cannot be configured in platform data */
if (spi->dev.platform_data) if (spi->dev.platform_data)
spi->bits_per_word = 16; spi->bits_per_word = 8;
ret = spi_setup(spi); ret = spi_setup(spi);
if (ret < 0) if (ret < 0)
return ret; return ret;
Expand Down

0 comments on commit 6ef80df

Please sign in to comment.