commit | 34bb31aa46976d182716186d8de1ac1932c10d04 | [log] [tgz] |
---|---|---|
author | Franz Geiger <franz@fairphone.com> | Fri Apr 21 13:22:25 2017 +0200 |
committer | Dirk Vogt <dirk@fairphone.com> | Mon Jul 31 14:36:34 2017 +0200 |
tree | 97a0e2a35f6f119bfecda2eb42c8d6009983f047 | |
parent | a285136d65ac1fd54cc70e689f71b3f0b9906af2 [diff] |
Add detection of Fairphone camera module based on EEPROM This adds a detection mechanism for the installed camera module based on the eeprom name. Drivers can use this in formation while probing to detect if certain functionalities should be enabled or disabled by reading the the global variable fp_cam_module. FPIIM-778 Change-Id: Id24f10c5a7e95a1ac941beeb2174ef294df3b712