From: Robert Baldyga Date: Mon, 24 Nov 2014 06:56:21 +0000 (+0100) Subject: serial: samsung: wait for transfer completion before clock disable X-Git-Tag: omap-for-v3.19/fixes-rc1~86^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff383a4c3eda8893ec61b02831826e1b1f46b41;p=pandora-kernel.git serial: samsung: wait for transfer completion before clock disable This patch adds waiting until transmit buffer and shifter will be empty before clock disabling. Without this fix it's possible to have clock disabled while data was not transmited yet, which causes unproper state of TX line and problems in following data transfers. Cc: # v2.6.26+ Signed-off-by: Robert Baldyga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed