[PATCH] spi: Support dev_pm_ops

2010-12-22 Thread Mark Brown
Allow SPI drivers to use runtime PM and other dev_pm_ops features by implementing dev_pm_ops for the bus. The existing bus specific suspend and resume functions will be called if a driver does not provide dev_pm_ops allowing for transition to the new model. Signed-off-by: Mark Brown

Re: [PATCH] spi: Support dev_pm_ops

2010-12-22 Thread Rafael J. Wysocki
On Wednesday, December 22, 2010, Mark Brown wrote: Allow SPI drivers to use runtime PM and other dev_pm_ops features by implementing dev_pm_ops for the bus. The existing bus specific suspend and resume functions will be called if a driver does not provide dev_pm_ops allowing for transition to

[PATCH v2 09/16] spi: add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs

2010-12-22 Thread Gabor Juhos
The Atheros AR71XX/AR724X/AR913X SoCs have a built-in SPI controller. This patch implements a driver for that. Signed-off-by: Gabor Juhos juh...@openwrt.org Cc: David Brownell dbrown...@users.sourceforge.net Cc: spi-devel-general@lists.sourceforge.net --- Changes since RFC: - remove DRV_DESC

[PATCH 3/4] spi/pl022: convert busy flag to a bool

2010-12-22 Thread Linus Walleij
Signed-off-by: Linus Walleij linus.wall...@stericsson.com --- drivers/spi/amba-pl022.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 40189c5..91ba23a 100644 --- a/drivers/spi/amba-pl022.c +++

[PATCH 2/4] spi/pl022: pass the returned sglen to the DMA engine

2010-12-22 Thread Linus Walleij
The sglen return by the dma_map_sg() should be passed to the DMA engine, not the one passed in. If we one day have a DMA mapper that can coalesce entries, this will bug due to a too large number of entries being passed in. Reported-by: Russell King li...@arm.linux.org.uk Signed-off-by: Linus

[PATCH 1/4] spi/pl022: map the buffers on the DMA engine

2010-12-22 Thread Linus Walleij
The struct device for the DMA engine is the apropriate one to use when mapping/unmapping buffers. This is because the memory which is addressable by DMA is determined by the DMA engine rather than the device. Reported-by: Russell King li...@arm.linux.org.uk Signed-off-by: Linus Walleij

[PATCH 4/4] spi/pl022: convert running variable

2010-12-22 Thread Linus Walleij
This variable is a bool but defined an int and defined completely backwards. This makes the code more readable. Signed-off-by: Linus Walleij linus.wall...@stericsson.com --- drivers/spi/amba-pl022.c | 24 ++-- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git

[SPAM] 、附件中是您需要的

2010-12-22 Thread XH_GUR8
-- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC