crypto: chelsio - calculating tx_channel_id as per the max number of channels
authorAyush Sawal <ayush.sawal@chelsio.com>
Fri, 13 Dec 2019 11:38:52 +0000 (17:08 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2019 06:58:35 +0000 (14:58 +0800)
commit27896aff15d66c241a87402bea81dc03c9fb80bd
treeec0e8dfb0f962e972637a819ac1a43ff758f4c7d
parent27f4adf724e16c0cb49dd015a089d8bdcb18353b
crypto: chelsio - calculating tx_channel_id as per the max number of channels

chcr driver was not using the number of channels from lld and
assuming that there are always two channels available. With following
patch chcr will use number of channel as passed by cxgb4.

Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c