adt3-S optee_linuxdriver source code [1/1]

internal tot CL:

optee: remove registered shm argument size check

RSP-1789

We don't need to return error if output shm size is larger than
allocated buffer. This is pefrectly fine. In this way TEE or TA
reports that it needs larger buffer (as described in
		TEE Client API Specification v1.0, section 3.2.5.).

Change-Id(I41627f02f94a76a6e4fb70f7f6a96111297bba8f)
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I0cc82536ba403403cd3c98ef0c177f09b62df280
26 files changed