diff options
author | Takashi Yoshii <takashi.yoshii.zj@renesas.com> | 2012-11-16 10:53:11 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 18:02:37 -0800 |
commit | 63f7ad115ef35b711f3ae2b46a07acbf1ca3bdfd (patch) | |
tree | 1d546005b103612d5dd3ba5fec3f50cfca4a3fe8 /drivers/clocksource | |
parent | 9d482cc353bd0391730730b26e4c2938dc90e477 (diff) | |
download | linux-63f7ad115ef35b711f3ae2b46a07acbf1ca3bdfd.tar.bz2 |
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 <takashi.yoshii.zj@renesas.com>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions