From e77c756eca76077032db23d8d4b85dcd743742b4 Mon Sep 17 00:00:00 2001 From: Joel Fernandes Date: Sat, 17 Aug 2013 21:42:24 -0500 Subject: [PATCH] crypto: omap-aes - Populate number of SG elements Crypto layer only passes nbytes but number of SG elements is needed for mapping or unmapping SGs at one time using dma_map* API and also needed to pass in for dmaengine prep function. We call function added to scatterwalk for this purpose in omap_aes_handle_queue to populate the values which are used later. Signed-off-by: Joel Fernandes Signed-off-by: Herbert Xu --- Reading git-format-patch failed