spi: s3c64xx: use unsigned type for fifo handling variables
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 13 Jun 2016 02:55:58 +0000 (11:55 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:51:02 +0000 (13:51 +0900)
commitf77f82a4cd39f6deb1be8b1b3da132d2387791e6
tree60be2a01e4bac7bc71f7cd667c8301cc819fecb6
parent21075927dd024275e3414894568c7ee60756fc22
spi: s3c64xx: use unsigned type for fifo handling variables

The 'quirks' variable cannot ever be negative, therefore use u8
instead of int. The 8 bit size is given from the fact that
currently the quirks variable has very few statuses.

The rx_lvl_offset and tx_st_done store shift values, so that u8
is a proper size.

fifo_lvl_mask stores a series of masks, to be in we will keep the
32 bit size.

Change-Id: I949160c9dfd68d6dce5c2385c911269f5b6d1505
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
drivers/spi/spi-s3c64xx.c