crypto: omap - Drop obsolete PageSlab check
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 24 Jun 2021 06:35:29 +0000 (14:35 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Jun 2021 03:28:08 +0000 (11:28 +0800)
commit6ee55a6f50fe28207d829a535effcedad37991ea
treef88d11db44f1a0ac23db76de362a02ba133b9224
parentb0d2193ba643ec8246e7a194e336c71018b8e6f3
crypto: omap - Drop obsolete PageSlab check

As it is now legal to call flush_dcache_page on slab pages we
no longer need to do the check in the omap driver.  This patch
also uses flush_dcache_page instead of flush_kernel_dcache_page
because the page we're writing to could be anything.

Reported-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-crypto.c