From: Qipan Li Date: Wed, 29 Apr 2015 06:45:09 +0000 (+0000) Subject: serial: sirf: use uart_port's fifosize for fifo related operation X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~108 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb4595a2158371f8180b226fce42a47086585d5c;p=pandora-kernel.git serial: sirf: use uart_port's fifosize for fifo related operation In SiRF platform, there are different fifo size of uart and usp, with the fifosize configuration changes in different chips, we can not use port line to decide how to check FIFO full,empty and level. There is a direct mapping between FIFO HW register layout with fifo size, so move to use fifosize as the input to check fifo status. Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed