From: Takashi Yoshii Date: Fri, 16 Nov 2012 01:53:11 +0000 (+0900) Subject: serial: sh-sci: mask SCTFDR/RFDR according to fifosize X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f7ad115ef35b711f3ae2b46a07acbf1ca3bdfd;p=pandora-kernel.git serial: sh-sci: mask SCTFDR/RFDR according to fifosize Current mask 0xff to SCTFDR/RFDR damages SCIFB, because the registers on SCIFB have 9-bit data (0 to 256). This patch changes the mask according to port->fifosize. Though I'm not sure if the mask is really needed (I don't know if there are variants which have non-zero upper bits), it is safer. Signed-off-by: Takashi Yoshii Signed-off-by: Shinya Kuribayashi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed