commit | bfc113a7b2ebf3e52dfcc5fe26f6a0cc16d5bb26 | [log] [tgz] |
---|---|---|
author | Andrew Davies <awdavies@google.com> | Wed Apr 08 12:06:58 2015 -0700 |
committer | Andrew Davies <awdavies@google.com> | Thu Apr 09 12:14:49 2015 -0700 |
tree | d4d36cf5c3329d2b4083f3f1d7651489a2adfef3 | |
parent | 6dcb3b1141c0d6d433e684cc1da55a291d648f38 [diff] |
Move SPI controller code into a common location. Moves mutual exclusion code to atheros.h, which handles enabling/disabling the temperature sensor pin when attempting to grab a lock for SPI operations. The common location is necessary for the proper functioning of the temperature sensor driver (pending), as it shares the MISO and CLK pins with the flash storage device. Change-Id: I00d18b16f552f1f30e4ff477eb7838ca52e7a5c2