msm: camera: fix error check in msm vb2.

The return value from the get stream function could be
an error pointer. Hence, it is not sufficient to do a
NULL check on the return value. Instead we need to pass
the pointer through the IS_ERR_OR_NULL function.

Change-Id: I32afbbc53a3b67cc75472db56173f640e9c398e3
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
1 file changed