serial: cast before shifting on port io
authorAlan Cox <alan@linux.intel.com>
Tue, 6 Nov 2012 14:30:28 +0000 (14:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 00:59:58 +0000 (16:59 -0800)
Without this we will shift data into oblivion and give wrong results on
some configurations

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found