crypto/fsl: Fix RNG instantiation failure.
authorgaurav rana <gaurav.rana@freescale.com>
Thu, 4 Dec 2014 07:30:41 +0000 (13:00 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 15 Dec 2014 17:16:26 +0000 (09:16 -0800)
commit851c9dbad200538bdd181c7d7db98300911fc100
treee181cc948bf39d820e00caffa4482fddd40065ec
parent2a8b34220dcf2b99fd71c8190ac6689a87102c66
crypto/fsl: Fix RNG instantiation failure.

Corrected the order of arguments in memset in run_descriptor
function. Wrong order of argumnets led to improper initialization
of members of struct type result. This resulted in RNG instantiation
error.

Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/crypto/fsl/jr.c