diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/davinci_spi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 2ec5fd2f2e7b..f40f1be1528a 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c | |||
@@ -787,6 +787,13 @@ rx_dma_failed: | |||
787 | /** | 787 | /** |
788 | * davinci_spi_probe - probe function for SPI Master Controller | 788 | * davinci_spi_probe - probe function for SPI Master Controller |
789 | * @pdev: platform_device structure which contains plateform specific data | 789 | * @pdev: platform_device structure which contains plateform specific data |
790 | * | ||
791 | * According to Linux Device Model this function will be invoked by Linux | ||
792 | * with platform_device struct which contains the device specific info. | ||
793 | * This function will map the SPI controller's memory, register IRQ, | ||
794 | * Reset SPI controller and setting its registers to default value. | ||
795 | * It will invoke spi_bitbang_start to create work queue so that client driver | ||
796 | * can register transfer method to work queue. | ||
790 | */ | 797 | */ |
791 | static int davinci_spi_probe(struct platform_device *pdev) | 798 | static int davinci_spi_probe(struct platform_device *pdev) |
792 | { | 799 | { |