Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: artpec6 - move spin_lock_bh to spin_lock in tasklet

it is unnecessary to call spin_lock_bh in a tasklet.

Signed-off-by: Tuo Cao <91tuocao@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Tuo Cao and committed by
Herbert Xu
90cb3ca2 a76bd86a

+2 -2
+2 -2
drivers/crypto/axis/artpec6_crypto.c
··· 2091 2091 return; 2092 2092 } 2093 2093 2094 - spin_lock_bh(&ac->queue_lock); 2094 + spin_lock(&ac->queue_lock); 2095 2095 2096 2096 list_for_each_entry_safe(req, n, &ac->pending, list) { 2097 2097 struct artpec6_crypto_dma_descriptors *dma = req->dma; ··· 2128 2128 2129 2129 artpec6_crypto_process_queue(ac, &complete_in_progress); 2130 2130 2131 - spin_unlock_bh(&ac->queue_lock); 2131 + spin_unlock(&ac->queue_lock); 2132 2132 2133 2133 /* Perform the completion callbacks without holding the queue lock 2134 2134 * to allow new request submissions from the callbacks.