diff options
Diffstat (limited to 'drivers/mfd/ab8500-spi.c')
| -rw-r--r-- | drivers/mfd/ab8500-spi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-spi.c b/drivers/mfd/ab8500-spi.c index e1c8b62b086d..01b6d584442c 100644 --- a/drivers/mfd/ab8500-spi.c +++ b/drivers/mfd/ab8500-spi.c | |||
| @@ -83,6 +83,11 @@ static int __devinit ab8500_spi_probe(struct spi_device *spi) | |||
| 83 | struct ab8500 *ab8500; | 83 | struct ab8500 *ab8500; |
| 84 | int ret; | 84 | int ret; |
| 85 | 85 | ||
| 86 | spi->bits_per_word = 24; | ||
| 87 | ret = spi_setup(spi); | ||
| 88 | if (ret < 0) | ||
| 89 | return ret; | ||
| 90 | |||
| 86 | ab8500 = kzalloc(sizeof *ab8500, GFP_KERNEL); | 91 | ab8500 = kzalloc(sizeof *ab8500, GFP_KERNEL); |
| 87 | if (!ab8500) | 92 | if (!ab8500) |
| 88 | return -ENOMEM; | 93 | return -ENOMEM; |
