Check spi channel allow condition

Incorrect channel value. 0 or 1 expected.
Merge pull request #1 from ivorycirrus/master

Check spi channel allow condition