29 Jan, 2011
1 commit
-
clk_get() returns a struct clk cookie to the driver and some platforms
may return NULL if they only support a single clock. clk_get() has only
failed if it returns a ERR_PTR() encoded pointer.Signed-off-by: Jamie Iles
Reviewed-and-tested-by: Tobias Karnat
Signed-off-by: Herbert Xu
02 Dec, 2010
6 commits
-
Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu -
AES module was initialized for every DMA transaction.
That is redundant.
Now it is initialized once per request.Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu -
Key and IV should always be set before AES operation.
So no need to check if it has changed or not.Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu -
Previous version had not error handling.
Request could remain uncompleted.Also in the case of DMA error, FLAGS_INIT is unset
and accelerator will be initialized again.Buffer size allignment is checked.
Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu -
Submitting request involved double locking for enqueuing and
dequeuing. Now it is done under the same lock.FLAGS_BUSY is now handled under the same lock.
Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu -
DMA parameters for constant data were initialized during driver probe().
It seems that those settings sometimes are lost when devices goes to off mode.
This patch makes DMA initialization just before use.
It solves off mode problems.Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu
03 Sep, 2010
1 commit
-
Signed-off-by: Dmitry Kasatkin
Signed-off-by: Herbert Xu