Message ID | 1273142265-11929-1-git-send-email-os@emlix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/touchscreen/ad7877.c b/drivers/input/touchscreen/ad7877.c index e019d53..92acd85 100644 --- a/drivers/input/touchscreen/ad7877.c +++ b/drivers/input/touchscreen/ad7877.c @@ -669,6 +669,8 @@ static int __devinit ad7877_probe(struct spi_device *spi) dev_dbg(&spi->dev, "SPI CLK %d Hz?\n",spi->max_speed_hz); return -EINVAL; } + spi->bits_per_word = 16; + spi_setup(spi); ts = kzalloc(sizeof(struct ad7877), GFP_KERNEL); input_dev = input_allocate_device();