Check spi channel allow condition

Incorrect channel value. 0 or 1 expected.