intel_edison_fab_c.c: added spi_lsbmode_replace to return proper status
authorAlex Tereschenko <alext.mkrs@gmail.com>
Mon, 15 Jun 2015 19:20:02 +0000 (21:20 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 22 Jun 2015 18:26:30 +0000 (19:26 +0100)
commitea31104db0f2d703f40e83d09096f7b4c2f6cda0
treeb7ce5dd42136a5bd4c6c07a45f541f57aa15b041
parent41d71e6ce2fd10330395c76407307240485ed17e
intel_edison_fab_c.c: added spi_lsbmode_replace to return proper status

Edison SPI driver doesn't support LSB_FIRST mode, we will now return
_FEATURE_NOT_SUPPORTED instead of _INVALID_RESOURCE
for attempts to enable it.

Closes #22.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/x86/intel_edison_fab_c.c