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
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
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
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
+++
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
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
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
--
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