commit | c1ebd50044a5f4590842d4dfc96d3e31305adad2 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Sun Oct 15 13:14:18 2017 -0700 |
committer | Chien-Yu Chen <cychen@google.com> | Mon Oct 16 15:01:37 2017 -0700 |
tree | e9b22a800adac878aa4d9b60311c9ee66fa23c14 | |
parent | 5715a26532570067c9f168790a324826a724321e [diff] |
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