From: Qipan Li Date: Thu, 3 Jul 2014 13:26:59 +0000 (+0800) Subject: serial: sirf: transfer more bytes once to decrease interrupts X-Git-Tag: cleanup-for-v3.18~124^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7282cec90365533befce1552ab09edbcd0af0dbd;p=pandora-kernel.git serial: sirf: transfer more bytes once to decrease interrupts the current codes send 1 bytes, then after getting TX done interrupt, send subsequent bytes. it causes redundant interrupts. for example, if we have 3 bytes in TX buffer, the TX flow is: 1. send 1 byte 2. get TX down interrupt 3. send the left 2 bytes 4. get TX down interrupt this patch moves to send more bytes and decrease interrupts, the new flow is: 1. send 3 bytes 2. get TX down interrupt Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed