[PATCH 1/6] crypto: ux500/hash: use readl on iomem addresses

2013-06-25 Thread Fabio Baltieri
Always use readl when reading memory mapped registers. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/hash/hash_core.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash

[PATCH 3/6] crypto: ux500/crypt: add missing __iomem qualifiers

2013-06-25 Thread Fabio Baltieri
Add missing __iomem to struct cryp_register pointers, this solve some "incorrect type in initializer (different address spaces)" sparse warnings. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 5/6] crypto: ux500: use dmaengine_prep_slave_sg API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_prep_slave_sg inline function instead of going through the structures manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 20 ++-- drivers/crypto/ux500/hash/hash_core.c | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions

[PATCH 4/6] crypto: ux500: use dmaengine_device_control API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_device_control inline function instead of going through the structures manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 4 ++-- drivers/crypto/ux500/hash/hash_core.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH 6/6] crypto: ux500: use dmaengine_submit API

2013-06-25 Thread Fabio Baltieri
Use dmaengine_submit instead of calling desc->tx_submit manually. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp_core.c | 2 +- drivers/crypto/ux500/hash/hash_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ux500/cryp/cryp_core.c

[PATCH 2/6] crypto: ux500/hash: add missing static qualifiers

2013-06-25 Thread Fabio Baltieri
Add missing static qualifiers to hash_process_data and hash_hw_final. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/hash/hash_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c

[PATCH 0/6] Various ux500 crypto updates

2013-06-25 Thread Fabio Baltieri
. Thanks, Fabio Fabio Baltieri (6): crypto: ux500/hash: use readl on iomem addresses crypto: ux500/hash: add missing static qualifiers crypto: ux500/crypt: add missing __iomem qualifiers crypto: ux500: use dmaengine_device_control API crypto: ux500: use dmaengine_prep_slave_sg API

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-15 Thread Fabio Baltieri
sh the burden from > > platform data. This also removes quite a bit of complexity from the driver > > and will aid us when we come to enable the driver for Device Tree. > > > > Cc: Felipe Balbi > > Cc: linux-...@vger.kernel.org > > Acked-by: Linus Walleij > > Ac