layerscape: add patches-5.4
[openwrt/staging/mkresin.git] / target / linux / layerscape / patches-5.4 / 804-crypto-0010-MLK-9769-1-crypto-caam-jr-remove-incorrect-comment-f.patch
1 From 7bf33e375e1b260d2ef3c414852a2131ce11d113 Mon Sep 17 00:00:00 2001
2 From: Victoria Milhoan <vicki.milhoan@freescale.com>
3 Date: Wed, 29 Oct 2014 11:23:05 -0700
4 Subject: [PATCH] MLK-9769-1 crypto: caam/jr - remove incorrect comment from
5 job ring module
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 caam_jr_register() function is no longer part of the driver since
11 commit 6dad41158db6 ("crypto: caam - Remove unused functions from Job Ring")
12
13 This patch removes a comment referencing the function.
14
15 Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
16 Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
17 Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
18 (cherry picked from commit 96c125b8962ba5bcbb625b0b162644c16fb33685)
19
20 -changed commit headline prefix
21 -added details about commit removing caam_jr_register()
22
23 Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
24 ---
25 drivers/crypto/caam/jr.c | 3 +--
26 1 file changed, 1 insertion(+), 2 deletions(-)
27
28 --- a/drivers/crypto/caam/jr.c
29 +++ b/drivers/crypto/caam/jr.c
30 @@ -327,8 +327,7 @@ EXPORT_SYMBOL(caam_jr_free);
31 * caam_jr_enqueue() - Enqueue a job descriptor head. Returns 0 if OK,
32 * -EBUSY if the queue is full, -EIO if it cannot map the caller's
33 * descriptor.
34 - * @dev: device of the job ring to be used. This device should have
35 - * been assigned prior by caam_jr_register().
36 + * @dev: struct device of the job ring to be used
37 * @desc: points to a job descriptor that execute our request. All
38 * descriptors (and all referenced data) must be in a DMAable
39 * region, and all data references must be physical addresses