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. msm8998/
  2. Android.mk
  3. CleanSpec.mk