misc: fastrpc: revert max init file size back to 2MB
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Wed, 9 Oct 2019 14:41:23 +0000 (15:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 13:28:12 +0000 (15:28 +0200)
commitefcd2390f56ba979e0d1022c46f48d7beec0bdd6
tree22eeb06acc22d3bda24108f68469efe6d29ce456
parent387f625585d1a59e5dc7fbd6bd4002360cad78b0
misc: fastrpc: revert max init file size back to 2MB

With the integration of the mmap/unmap functionality, it is no longer
necessary to allow large memory allocations upfront since they can be
handled during runtime.

Tested on QCS404 with CDSP Neural Processing test suite.

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20191009144123.24583-6-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c