Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263265
b: refs/heads/master
c: 5b9063b
h: refs/heads/master
i:
  263263: b0f9475
v: v3
  • Loading branch information
Michael Hennerich authored and Dmitry Torokhov committed Aug 22, 2011
1 parent 2f6266a commit adca611
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9cc510b395543cb7dba89c76421d23ed9e85f95
refs/heads/master: 5b9063b19caaffe7135e1f9b8b22174ded0f586b
6 changes: 6 additions & 0 deletions trunk/drivers/input/misc/ad714x-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ static int ad714x_spi_write(struct device *dev, unsigned short reg,
static int __devinit ad714x_spi_probe(struct spi_device *spi)
{
struct ad714x_chip *chip;
int err;

spi->bits_per_word = 8;
err = spi_setup(spi);
if (err < 0)
return err;

chip = ad714x_probe(&spi->dev, BUS_SPI, spi->irq,
ad714x_spi_read, ad714x_spi_write);
Expand Down

0 comments on commit adca611

Please sign in to comment.