commit | 5e8ba3fc2a4fbef7c7fe4c3557d217d8156b5bad | [log] [tgz] |
---|---|---|
author | Andy Chuang <andy_chuang@htc.com> | Fri May 16 09:29:02 2014 +0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Fri May 16 13:21:11 2014 -0700 |
tree | d12d6e99a4feb313714e49310c3cfff556fa970f | |
parent | ee4c6c0d37bad82db0dd78aec8de48811e5ee70e [diff] |
flounder: sensor_hub: Add retry mechanism for IIO trigger We encounter libart crash in EStress test. When libart crashes, system_server will restart, and SensorHAL constructor will be called, at this moment, IIO trigger device node is busy. In order to make SensorHAL more robust, add logs when error and try to enable IIO current_trigger while we needs IIO channel. Change-Id: Ic8a4e285cfe11535663e6a8dfcc8daf694aa01c1