Revert "msm:qseecom: Add validation checks for memory cleanup for qseecom"

This reverts commit 5803927a305a16a68d060666e67355ab1965f93e.
Revert "qseecom: Fix kernel panic"

This reverts commit 0adf0d771d2782829d43e6e162607fc36b4283be.
Revert "qseecom: Add a status field to the listener resp structure"

This reverts commit b84590f1b318f39462ee5ee9f01ed138e72b89cc.
Revert "qseecom: Release the memory after processing INCOMPLETE_CMD"

This reverts commit 15a828b71fbd5b84d3a2b9113e02559ac19e4db1.
Revert "qseecom: Process incomplete load app command"

This reverts commit e8de556df9c0df68293fdd6b355939df2c525454.
Revert "qseecom: Enhance secure app logging mechanism"

This reverts commit cb151b4753c94ae2248da8be3f41d1f33e87e76c.
qseecom: Process incomplete load app command

Add support to process an INCOMPLETE status returned
when a request to load app is issued to QSEE.

Change-Id: If75a5726d3288812ddc6a1e23c5d968e8bc4ee1c
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
qseecom: Release the memory after processing INCOMPLETE_CMD

Release the memory after processing the INCOMPLETE_CMD,
as the same memory location is used for processing
INCOMPLETE_CMD

Change-Id: I9fd305b0e2f272f61b9975d02e222ff543842d7d
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
qseecom: Fix kernel panic

There exist a  possibility for "handle" input being NULL.  We need
to check for this before dereferencing it.

Change-Id: I50c1c6855ad303e05b52e6e37d774551d9db4fc4
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm:qseecom: Add validation checks for memory cleanup for qseecom

Add validation checks to handle memory freeing &
prevent NULL pointer access.

Change-Id: I7383b10037ca0ce3f049de060dc70f3ad4b9ca55
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>