QCamera2: bail out if get current sensor info fails

getCurrentSensorModeInfo may fail due to backend error condition.
We should bail out the stream on sequence otherwise the startMIPI
call with invalid data could cause kernel panic.

Test: Camera CTS
Bug: 67748328
Change-Id: I961ca121c2ea3378a335f90fdca2e60220d94474
1 file changed
tree: e9b22a800adac878aa4d9b60311c9ee66fa23c14
  1. Android.mk
  2. CleanSpec.mk
  3. msm8998/