crypto: caam - Provide correct value to iounmap() in controller driver
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Mon, 15 Jun 2015 23:52:58 +0000 (16:52 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Jun 2015 06:35:42 +0000 (14:35 +0800)
commitf4ec6aa5b018e0ec7edea916644686d572bc595c
treefb0ce44fda97bdc1a2f064e1aa6877ff01a77ebc
parent8af7b0f809a3d34657433ec545d64dff9808ce34
crypto: caam - Provide correct value to iounmap() in controller driver

Fix a "Trying to vfree() nonexistent vm area" error when unloading the CAAM
controller module by providing the correct pointer value to iounmap().

Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c