commit | 2ec311adcbca38ff5228746e66271f807553e4ba | [log] [tgz] |
---|---|---|
author | Ankit Premrajka <ankitp@codeaurora.org> | Mon Mar 04 18:44:41 2013 -0800 |
committer | Ankit Premrajka <ankitp@codeaurora.org> | Mon Mar 04 18:49:12 2013 -0800 |
tree | e6cf30a023db0942233c1b6f4f8af2a50b687405 | |
parent | 8e469f3fad518d35806abd2ca29b669cca889580 [diff] |
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>