Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200488
b: refs/heads/master
c: cd9b6fd
h: refs/heads/master
v: v3
  • Loading branch information
Oskar Schirmer authored and Dmitry Torokhov committed Jun 8, 2010
1 parent b5368c8 commit 95d868a
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 0b75f775288b90a83a8708a5af663a03d4bbc9ce
refs/heads/master: cd9b6fdf798841eb15253f928e762eee5260d347
7 changes: 7 additions & 0 deletions trunk/drivers/input/touchscreen/ad7877.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,13 @@ static int __devinit ad7877_probe(struct spi_device *spi)
return -EINVAL;
}

spi->bits_per_word = 16;
err = spi_setup(spi);
if (err) {
dev_dbg(&spi->dev, "spi master doesn't support 16 bits/word\n");
return err;
}

ts = kzalloc(sizeof(struct ad7877), GFP_KERNEL);
input_dev = input_allocate_device();
if (!ts || !input_dev) {
Expand Down

0 comments on commit 95d868a

Please sign in to comment.