projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi: spi_s3c24xx must initialize num_chipselect
[deliverable/linux.git]
/
drivers
/
spi
/
spi_s3c24xx.c
diff --git
a/drivers/spi/spi_s3c24xx.c
b/drivers/spi/spi_s3c24xx.c
index 80719ef5436500dd0acd00e7a280c6ee1dcbc7c8..b7476b888197c7872ce24cde39a552f9c74095b4 100644
(file)
--- a/
drivers/spi/spi_s3c24xx.c
+++ b/
drivers/spi/spi_s3c24xx.c
@@
-267,6
+267,10
@@
static int __init s3c24xx_spi_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, hw);
init_completion(&hw->done);
+ /* setup the master state. */
+
+ master->num_chipselect = hw->pdata->num_cs;
+
/* setup the state for the bitbang driver */
hw->bitbang.master = hw->master;
This page took
0.023551 seconds
and
5
git commands to generate.