s5j/spi: fix initialization bug of SPI driver
authorIvan <ivan.galkin@samsung.com>
Mon, 10 Apr 2017 18:41:33 +0000 (03:41 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:13 +0000 (12:02 +0900)
commit5dea6ea476846f4783a0bc69d72f4b999f5ea768
tree60086bf6ffb6d750b6ce7ef9917b25ef371120e3
parentd40b0bf8313c9399f8d7482f9662356042c716f9
s5j/spi: fix initialization bug of SPI driver

Durung code rework, hardcoding was replaced by macro definitions.
Function setmode had to have inverted MASK to clear bitfields.
It was not invered, therefore all bits except mode were cleared.

Change-Id: Ib7ca3e00f81b55d7c8593a55091ea00e05047853
Signed-off-by: Ivan <ivan.galkin@samsung.com>
os/arch/arm/src/s5j/s5j_spi.c