summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hyperv_vmbus.h
diff options
context:
space:
mode:
authorLeilei Zhao <leilei.zhao@atmel.com>2015-04-07 11:45:07 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-08 16:20:03 +0200
commit3f1992c002064f5628eafbec9649f7a82f439eaf (patch)
treeb977f4bee63a77b6dfe7e17e764cb4039d760c42 /drivers/hv/hyperv_vmbus.h
parentcrypto: atmel-sha - initialize spinlock in probe (diff)
downloadlinux-3f1992c002064f5628eafbec9649f7a82f439eaf.tar.xz
linux-3f1992c002064f5628eafbec9649f7a82f439eaf.zip
crypto: atmel-sha - correct the max burst size
The maximum source and destination burst size is 16 according to the datasheet of Atmel DMA. And the value is also checked in function at_xdmac_csize of Atmel DMA driver. With the restrict, the value beyond maximum value will not be processed in DMA driver, so SHA384 and SHA512 will not work and the program will wait forever. So here change the max burst size of all the cases to 16 in order to make SHA384 and SHA512 work and keep consistent with DMA driver and datasheet. Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
0 files changed, 0 insertions, 0 deletions