From: Jun Chen Date: Wed, 7 Nov 2012 17:04:04 +0000 (-0500) Subject: serial: ifx6x60: ifx_spi_write don't need to do mrdy_assert when fifo is not empty X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8823f1ca8d5a0c5d69a8862682ee8bde26990ca;p=pandora-kernel.git serial: ifx6x60: ifx_spi_write don't need to do mrdy_assert when fifo is not empty This patch check whether the fifo lenth is empty before writing new data to fifo.If condition is true,ifx_spi_write need to trigger one mrdy_assert. If condition is false,the mrdy_assert will be trigger by the next ifx_spi_io. Cc: Bi Chao Signed-off-by: Chen Jun Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed